chore(registry): update Cursor models to latest#777
Conversation
Replaces old Claude model IDs with new-style identifiers, adds Opus 4.7 variants, GPT-5.4 Mini/Nano tiers, Codex 5.3 Spark variants, Grok 4.20, and Sonnet 4/4.5 1M models. Sets composer-2-fast as new default. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ac2a876e33
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| """Agent Relay Python SDK.""" | ||
|
|
||
| from .models import ( |
There was a problem hiding this comment.
Avoid shadowing the SDK package with generated stubs
Adding this top-level agent_relay package introduces a name collision with src/agent_relay, which is the actual SDK package declared in pyproject.toml. When Python is executed from packages/sdk-py, imports resolve this new package first, so API imports like from agent_relay import AgentRelay or import agent_relay.builder fail because this package only contains model constants.
Useful? React with 👍 / 👎.
| gpt_5_4: | ||
| id: "gpt-5.4" | ||
| label: "GPT-5.4 — Latest frontier agentic coding model" | ||
| id: 'gpt-5.4' |
There was a problem hiding this comment.
Ensure Codex model IDs remain unique
This entry duplicates the gpt-5.4 id already used by gpt_5_5, which causes generated metadata and option lists to contain conflicting entries for the same value. In practice, one metadata entry overwrites the other by key, so label/default reasoning behavior for gpt-5.4 becomes inconsistent with the visible option ordering.
Useful? React with 👍 / 👎.
…degen path - Remove gpt_5_5 entry whose id 'gpt-5.4' duplicated gpt_5_4, causing silent metadata overwrite and duplicate UI dropdown entries - Fix codegen-py.mjs output path from sdk-py/agent_relay/ to sdk-py/src/agent_relay/ so generated models land in the real SDK package - Stop generating __init__.py to avoid shadowing the SDK's public API - Delete misplaced packages/sdk-py/agent_relay/ files from prior commit Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Summary
composer-2-fast(Composer 2 Fast) as the new default, replacingopus-4.6-thinkingclaude-4.6-opus-highinstead ofopus-4.6)composer-1,gemini-3-pro, and oldgrok(replaced bygrok-4-20+grok-4-20-thinking)packages/config/src/cli-registry.generated.tsand Python SDK modelsTest plan
packages/config/src/cli-registry.generated.tspackages/sdk-py/agent_relay/models.pyupdated correctlycomposer-2-fastas default🤖 Generated with Claude Code