This commit is contained in:
Dax Raad
2025-06-11 12:44:17 -04:00
parent 95d5e1f231
commit 6cf8784ecf
6 changed files with 62 additions and 12 deletions

View File

@@ -552,7 +552,7 @@ export namespace Session {
await updateMessage(next)
return step
},
toolCallStreaming: true,
toolCallStreaming: false,
abortSignal: abort.signal,
stopWhen: stepCountIs(1000),
messages: convertToModelMessages(msgs),

View File

@@ -147,7 +147,18 @@ export namespace Message {
])
.optional(),
sessionID: z.string(),
tool: z.record(z.string(), z.any()),
tool: z.record(
z.string(),
z
.object({
title: z.string().optional(),
time: z.object({
start: z.number(),
end: z.number(),
}),
})
.catchall(z.any()),
),
assistant: z
.object({
modelID: z.string(),