Fix OpenRouter model ID mismatches for GPT-5 family#5570
Conversation
…ints The OpenRouter providerModelId values for gpt-5.1-chat-latest and gpt-5.2-chat-latest incorrectly included "-latest" suffix, which doesn't match the actual OpenRouter model IDs. Also removes the misplaced codex-mini-latest:openrouter endpoint from the gpt-5.1 config. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Claude finished @replicas-connector[bot]'s task —— View job Code Review Complete ✅Reviewing PR for OpenRouter model ID fixes and providing constructive feedback. Score: 8/10 - Good to merge with minor considerations Summary of Changes✅ Primary Fixes Are Correct
✅ Critical Bug Fix: Duplicate Import Resolution
✅ Test Snapshots Updated Correctly Suggestions Summary:Minor Improvements:
No Critical Issues Found:
Recommendation✅ Ready to merge - This PR fixes both the intended OpenRouter model ID mismatches and resolves the unintended duplicate import issue causing CI failures. The changes are minimal, targeted, and preserve all existing functionality while fixing real bugs. |
There was a problem hiding this comment.
Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.
|
CI/CD Failure Workflow |
Summary
gpt-5.1-chat-latest:openrouterproviderModelId fromopenai/gpt-5.1-chat-latesttoopenai/gpt-5.1-chatgpt-5.2-chat-latest:openrouterproviderModelId fromopenai/gpt-5.2-chat-latesttoopenai/gpt-5.2-chatcodex-mini-latest:openrouterendpoint from gpt-5.1 config (thecodex-mini-latest:openaiendpoint is unaffected)Note:
gpt-5/endpoints.tsalready had the correct value (openai/gpt-5-chat), andchatgpt-4o-latestwas not touched as it is correct.Test plan
🤖 Generated with Claude Code