chore(deps): update @tanstack/ai packages to 0.2.0 ENG-11754#276
Merged
chore(deps): update @tanstack/ai packages to 0.2.0 ENG-11754#276
Conversation
commit: |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the @tanstack/ai packages from version 0.0.3 to 0.2.0 and migrates the example code to use the new API where the model is now specified as a parameter to the adapter function instead of in the chat options.
Key changes:
- Updated
@tanstack/aiand@tanstack/ai-openaidependencies to version 0.2.0 - Migrated from
openai()adapter toopenaiText('gpt-5')with model specified in the adapter - Removed the
modelparameter from thechat()configuration
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| pnpm-workspace.yaml | Updated catalog versions for @tanstack/ai packages from ^0.0.3 to ^0.2.0 |
| pnpm-lock.yaml | Updated resolved versions and dependency tree, removed @alcyone-labs/zod-to-json-schema peer dependency |
| examples/tanstack-ai-integration.ts | Migrated API usage from openai() to openaiText('gpt-5') and removed separate model configuration |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Update @tanstack/ai from ^0.0.3 to ^0.2.0
- Update @tanstack/ai-openai from ^0.0.3 to ^0.2.0
- Migrate example to use new API: openai() -> openaiText('gpt-5')
- Remove deprecated 'model' parameter from chat() call
5d11f69 to
0156bce
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@tanstack/aifrom ^0.0.3 to ^0.2.0@tanstack/ai-openaifrom ^0.0.3 to ^0.2.0openai()->openaiText('gpt-5')Test plan
pnpm lintpassespnpm testpassesSummary by cubic
Upgraded TanStack AI packages to 0.2.0 and updated the example to the new OpenAI adapter. Aligns with ENG-11754 to keep our integration compatible with the latest API.
Dependencies
Migration
Written for commit 0156bce. Summary will update on new commits.