-
Notifications
You must be signed in to change notification settings - Fork 3
chore(desp)!: update openai sdk to v6 and deprecate v4 #120
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
chore(desp)!: update openai sdk to v6 and deprecate v4 #120
Conversation
commit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR upgrades the OpenAI SDK dependency from version 5.7.0 to 6.2.0 and updates peer dependencies to deprecate OpenAI v4 support. This aligns with ENG-11183 requirements and ensures consumers use OpenAI 5.x or 6.x versions.
Key Changes
- Updated OpenAI SDK from ^5.7.0 to ^6.2.0 in devDependencies
- Modified peer dependencies to require OpenAI 5.x|6.x instead of 4.x|5.x
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 2 files
Pull Request is not mergeable
59448d2 to
9dd442a
Compare
…eters - Change toAISDK to provide both inputSchema (v5) and parameters (v4) - Remove ToolSet type import to avoid version-specific type conflicts - Update tests to check inputSchema.jsonSchema instead of parameters.jsonSchema - Maintain backward compatibility with AI SDK v4 while supporting v5 This fixes typecheck errors while maintaining compatibility with both AI SDK 4.x and 5.x as specified in peerDependencies.
Summary
Changes
4.x|5.xto5.x|6.xparameters) and v5 (inputSchema) formatsToolSettype import to avoid version-specific type conflictsMigration guide for consumers
Test plan
🤖 Generated with Claude Code
Co-Authored-By: Claude [email protected]