Skip to content

Conversation

tom-auger
Copy link

Background

Adds useObject support to the Vue package.

Summary

  • Added experimental_useObject to the Vue package, following the same pattern as the React version.
  • Added unit tests similar to the corresponding React tests.
  • Added example page to the nuxt-openai example project
  • Updated the docs.

Manual Verification

Added an example page use-object to the nuxt-openai example project to run and verify streaming objects works as expected.

Tasks

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • 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)
  • I have reviewed this pull request (self-review)

Related Issues

Fixes #2903

@gr2m gr2m self-assigned this Sep 7, 2025
Copy link
Collaborator

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

Hi @tom-auger - thanks for sending your first pull request! It looks great to me!

I'm not super familiar with the UI parts of AI SDK yet, I'll reach out for a second set of eyes to make sure I'm not missing anything

Copy link
Collaborator

@gr2m gr2m left a comment

Choose a reason for hiding this comment

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

Great pull request Tom, thank you! Congratulations on your first contribution to the AI SDK 💐

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.

Vue.js: useObject support
2 participants