Skip to content

Commit 84ac365

Browse files
committed
fix: change browser_action strict mode to false and remove required action parameter
1 parent e5e3a6c commit 84ac365

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/prompts/tools/native-tools/browser_action.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default {
2222
function: {
2323
name: "browser_action",
2424
description: BROWSER_ACTION_DESCRIPTION,
25-
strict: true,
25+
strict: false,
2626
parameters: {
2727
type: "object",
2828
properties: {
@@ -48,7 +48,6 @@ export default {
4848
description: TEXT_PARAMETER_DESCRIPTION,
4949
},
5050
},
51-
required: ["action"],
5251
additionalProperties: false,
5352
},
5453
},

0 commit comments

Comments
 (0)