initialized

This commit is contained in:
Dax Raad
2025-06-03 14:24:45 -04:00
parent be4155a838
commit caf9fdc893
5 changed files with 382 additions and 18 deletions

View File

@@ -350,6 +350,7 @@ ${app.git ? await ListTool.execute({ path: app.path.cwd }, { sessionID: input.se
assistant.tokens = usage.tokens
await updateMessage(next)
},
toolCallStreaming: false,
abortSignal: abort.signal,
maxRetries: 6,
stopWhen: stepCountIs(1000),
@@ -403,6 +404,21 @@ ${app.git ? await ListTool.execute({ path: app.path.cwd }, { sessionID: input.se
})
break
case "tool-call-streaming-start":
next.parts.push({
type: "tool-invocation",
toolInvocation: {
state: "call",
toolName: value.toolName,
toolCallId: value.toolCallId,
args: {},
},
})
break
case "tool-call-delta":
break
case "tool-result":
const match = next.parts.find(
(p) =>
@@ -566,5 +582,6 @@ ${app.git ? await ListTool.execute({ path: app.path.cwd }, { sessionID: input.se
},
],
})
await App.initialize()
}
}