Merge pull request #3 from rowboatlabs/dev

fix tool call schema
This commit is contained in:
Ramnique Singh 2025-01-30 16:39:13 +05:30 committed by GitHub
commit 43d124c1a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 2 deletions

View file

@ -200,7 +200,7 @@ export const WorkflowTool = z.object({
description: z.string(),
})),
required: z.array(z.string()).optional(),
}).optional(),
}),
});
export const AgenticAPIAgent = WorkflowAgent

View file

@ -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