Explorar o código

chore: generate

opencode-agent[bot] hai 1 semana
pai
achega
e767801db2
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      packages/opencode/src/session/prompt.ts

+ 3 - 3
packages/opencode/src/session/prompt.ts

@@ -174,7 +174,7 @@ export namespace SessionPrompt {
       return message
     }
 
-    return loop({sessionID: input.sessionID})
+    return loop({ sessionID: input.sessionID })
   })
 
   export async function resolvePromptParts(template: string): Promise<PromptInput["parts"]> {
@@ -1387,8 +1387,8 @@ NOTE: At any point in time through this workflow you should feel free to ask the
         cancel(input.sessionID)
       } else {
         // Otherwise, trigger the session loop to process queued items
-        loop({sessionID: input.sessionID, resume_existing: true}).catch((error) => {
-          log.error("session loop failed to resume after shell command", { sessionID: input.sessionID, error  })
+        loop({ sessionID: input.sessionID, resume_existing: true }).catch((error) => {
+          log.error("session loop failed to resume after shell command", { sessionID: input.sessionID, error })
         })
       }
     })