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

Update addToolMessageToChat function to use parts instead of toolInvocations which is deprecated #838

Open
Irere123 opened this issue Mar 2, 2025 · 1 comment

Comments

@Irere123
Copy link

Irere123 commented Mar 2, 2025

The utility function addToolMessageToChat function is using message.toolInvocations which is deprecated and should now now use parts

@Irere123
Copy link
Author

Irere123 commented Mar 2, 2025

This happens when using ai version ^4.1.47

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

No branches or pull requests

1 participant