fix tool call schema

This commit is contained in:
ramnique 2025-01-30 16:37:04 +05:30
parent 6e59de77aa
commit 278cd92ad3
2 changed files with 5 additions and 2 deletions

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