Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse tool call arguments for onToolCall callback. #1113

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

lgrammel
Copy link
Collaborator

@lgrammel lgrammel commented Mar 6, 2024

Summary

The implementation did not parse the tool call arguments for the experimental_onToolCall callback, despite the types and other parts of the code expecting it to. This diff adds tool args parsing.

Warning

This is a breaking change for users who ignore the types and just parse the args in onToolCall.

@lgrammel lgrammel self-assigned this Mar 6, 2024
@lgrammel lgrammel merged commit f6ae717 into vercel:main Mar 6, 2024
6 checks passed
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.

None yet

2 participants