You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit fe57d22
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: apps/sim/lib/mothership/async-runs/repository.ts
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,6 @@ import {
24
24
like,
25
25
lt,
26
26
ne,
27
-
not,
28
27
notInArray,
29
28
or,
30
29
typeSQL,
@@ -1022,7 +1021,10 @@ export async function revokeExpiredSimToolExecutions(input: {
1022
1021
tx,
1023
1022
and(
1024
1023
sql`EXISTS (SELECT 1 FROM ${copilotRuns} r WHERE r.id = ${copilotAsyncToolCalls.runId} AND r.id = ${input.runId}::uuid AND r.user_id = ${input.userId})`,
@@ -1385,7 +1387,7 @@ export async function prepareWorkbenchAccess(
1385
1387
and(
1386
1388
sql`EXISTS (SELECT 1 FROM ${copilotRuns} r WHERE r.id = ${copilotAsyncToolCalls.runId} AND r.chat_id = ${owner.chatId} AND r.user_id = ${input.userId})`,
1387
1389
/** This run was just verified to admit tools; every older run's admission just closed. */
0 commit comments