Skip to content

feat (@ai-sdk/react): expose addToolResult type from UseChatHelpers #6447

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alonzuman
Copy link
Contributor

@alonzuman alonzuman commented May 23, 2025

Background

The addToolResult type is already exposed from UseChatHelpers in the @ai-sdk/vue and @ai-sdk/solid packages, but missing in the react one.

Summary

I added addToolResult to the UseChatHelpers exported from @ai-sdk/react

Verification

Tasks

  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • Formatting issues have been fixed (run pnpm prettier-fix in the project root)

Future Work

Related Issues

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.

1 participant