-
Notifications
You must be signed in to change notification settings - Fork 61k
Revert "Support OpenAI o3 and o4-mini" #6464
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
Conversation
@twfz7 is attempting to deploy a commit to the NextChat Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThis change updates the handling of vision-capable models within the application. It removes the "o3" and "o4-mini" models from both the list of supported OpenAI models and the regular expressions used to identify vision models. Corresponding logic in the OpenAI platform integration is updated so that the Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant OpenAI Platform
participant Constants
Client->>Constants: Get vision model regexes and model list
Client->>OpenAI Platform: Prepare request payload
OpenAI Platform->>Constants: Check if model is vision-capable
OpenAI Platform-->>Client: Add max_tokens if vision model (no longer excludes o1/o3)
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
💤 Files with no reviewable changes (1)
🔇 Additional comments (2)
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
💻 变更类型 | Change Type
🔀 变更说明 | Description of Change
📝 补充信息 | Additional Information
Summary by CodeRabbit