mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-04-25 00:16:29 +02:00
fix tool call schema
This commit is contained in:
parent
6e59de77aa
commit
278cd92ad3
2 changed files with 5 additions and 2 deletions
|
|
@ -200,7 +200,7 @@ export const WorkflowTool = z.object({
|
|||
description: z.string(),
|
||||
})),
|
||||
required: z.array(z.string()).optional(),
|
||||
}).optional(),
|
||||
}),
|
||||
});
|
||||
|
||||
export const AgenticAPIAgent = WorkflowAgent
|
||||
|
|
|
|||
|
|
@ -273,7 +273,10 @@ function reducer(state: State, action: Action): State {
|
|||
draft.workflow?.tools.push({
|
||||
name: newToolName,
|
||||
description: "",
|
||||
parameters: undefined,
|
||||
parameters: {
|
||||
type: "object",
|
||||
properties: {},
|
||||
},
|
||||
mockInPlayground: true,
|
||||
autoSubmitMockedResponse: true,
|
||||
...action.tool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue