mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-11 16:22:40 +02:00
commit
4709e6eb89
13 changed files with 578 additions and 14 deletions
|
|
@ -63,6 +63,13 @@ export const ToolResultEvent = BaseRunEvent.extend({
|
|||
result: z.any(),
|
||||
});
|
||||
|
||||
export const ToolOutputStreamEvent = BaseRunEvent.extend({
|
||||
type: z.literal("tool-output-stream"),
|
||||
toolCallId: z.string(),
|
||||
toolName: z.string(),
|
||||
output: z.string(),
|
||||
});
|
||||
|
||||
export const AskHumanRequestEvent = BaseRunEvent.extend({
|
||||
type: z.literal("ask-human-request"),
|
||||
toolCallId: z.string(),
|
||||
|
|
@ -106,6 +113,7 @@ export const RunEvent = z.union([
|
|||
MessageEvent,
|
||||
ToolInvocationEvent,
|
||||
ToolResultEvent,
|
||||
ToolOutputStreamEvent,
|
||||
AskHumanRequestEvent,
|
||||
AskHumanResponseEvent,
|
||||
ToolPermissionRequestEvent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue