Skip to content

Commit 4407d5d

Browse files
committed
fix: ensure tool inputs are zod validated
1 parent 244945c commit 4407d5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/opencode/src/session/prompt.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,7 @@ export namespace SessionPrompt {
533533
args,
534534
},
535535
)
536+
item.parameters.parse(args)
536537
const result = await item.execute(args, {
537538
sessionID: input.sessionID,
538539
abort: options.abortSignal!,

0 commit comments

Comments
 (0)