Skip to content

refactor: update tool execution to support object arguments - #384

Open
beaufortfrancois wants to merge 1 commit into
mainfrom
execute-object
Open

refactor: update tool execution to support object arguments#384
beaufortfrancois wants to merge 1 commit into
mainfrom
execute-object

Conversation

@beaufortfrancois

Copy link
Copy Markdown
Collaborator

Updates tool execution for in-page agent demos to pass parsed input arguments to document.modelContext.executeTool, while retaining backward compatibility for versions of Chrome that still expect a JSON string.

References:

@Kulikowski Kulikowski left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants