Skip to content

claude-5-model-ordering -> Primary#902

Merged
arul28 merged 6 commits into
mainfrom
ade/platform-claude-docs-en-about-5e8a35c2
Jul 25, 2026
Merged

claude-5-model-ordering -> Primary#902
arul28 merged 6 commits into
mainfrom
ade/platform-claude-docs-en-about-5e8a35c2

Conversation

@arul28

@arul28 arul28 commented Jul 25, 2026

Copy link
Copy Markdown
Owner

ADE   Open in ADE  ·  ade/platform-claude-docs-en-about-5e8a35c2 branch  ·  PR #902

Summary by CodeRabbit

  • New Features
    • Added full Claude Opus 5 support across desktop and mobile model selection, chat creation, and agent launches, including Opus 5 reasoning presets (high default), expanded tiers, and fast-mode capability.
    • Added Opus 5 token pricing support and improved handling of common Opus 5 aliases.
  • Documentation
    • Refreshed regenerated CLI help text and updated examples to use current Opus 5 model identifiers and options.
  • Bug Fixes
    • Improved normalization and routing of Opus alias and retired-model identifiers across runtimes and catalogs.

Greptile Summary

This PR promotes Claude Opus 5 across the ADE model selection paths. The main changes are:

  • Adds Opus 5 to the shared desktop model registry, Claude CLI aliases, defaults, reasoning tiers, fast-mode support, and pricing.
  • Updates chat runtime normalization so bare Opus reports map to the new primary model while explicit older Opus selections stay stable.
  • Refreshes Droid and OpenCode model discovery to canonicalize current and retired Anthropic Opus aliases.
  • Updates CLI help, CTO guidance, desktop tests, iOS catalog entries, fast-mode fallbacks, voice glossary text, and related docs.

Confidence Score: 5/5

Safe to merge with low risk.

The changes are consistent model catalog, alias, pricing, help text, and test updates across desktop, CLI, Droid, OpenCode, and iOS paths.

Files Needing Attention: No files require special attention.

T-Rex T-Rex Logs

What T-Rex did

  • Validated the general contract by reviewing the two after-run logs for the Opus 5 flow, confirming both the ade-cli and desktop invocations completed successfully with EXIT_CODE: 0 and noting the verbose pass lists.

View all artifacts

T-Rex Ran code and verified through T-Rex

Important Files Changed

Filename Overview
apps/desktop/src/shared/modelRegistry.ts Adds Claude Opus 5 to the canonical registry, ordering, reasoning defaults, fast support, and alias resolution.
apps/desktop/src/shared/claudeCliModels.ts Promotes the bare Claude Opus alias to Opus 5 and adds Opus 5 CLI aliases.
apps/desktop/src/main/services/chat/agentChatService.ts Preserves explicit Opus 4.8 selections when Claude runtime reports the now-current bare Opus alias.
apps/desktop/src/main/services/chat/droidModelsDiscovery.ts Normalizes Droid bare Opus/custom Opus aliases to Opus 5 while retaining older Opus 4.8 replacements.
apps/desktop/src/main/services/opencode/openCodeInventory.ts Normalizes OpenCode Anthropic bare Opus rows to Opus 5 while preserving exact advertised runtime routing.
apps/desktop/src/main/services/usage/usagePricing.ts Adds static token pricing for Claude Opus 5 and related alias coverage.
apps/ios/ADE/Views/Work/WorkModelCatalog.swift Adds Opus 5 to iOS curated Claude, Droid, and OpenCode catalogs with high default reasoning.
apps/ios/ADE/Views/Work/WorkChatComposerAndInputViews.swift Extends iOS fast-mode capability fallback refs to include Opus 5 aliases.
apps/ade-cli/src/cli.ts Refreshes CLI help examples to use Claude Opus 5 and current effort names.
apps/desktop/resources/ade-cli-help.txt Regenerates bundled CLI help text; broad documentation/resource refresh with no code-path issue found.

Sequence Diagram

sequenceDiagram
  participant User
  participant CLI_iOS as CLI / iOS Picker
  participant Registry as Shared Model Registry
  participant Runtime as Chat Runtime
  participant Provider as Claude/Droid/OpenCode
  User->>CLI_iOS: Select or request "opus" / Claude Opus 5
  CLI_iOS->>Registry: Resolve aliases, defaults, reasoning tiers, fast support
  Registry-->>CLI_iOS: anthropic/claude-opus-5 + high default effort
  CLI_iOS->>Runtime: Create chat with modelId, reasoningEffort, fastMode
  Runtime->>Provider: Launch provider-specific model ref
  Provider-->>Runtime: Stream events and reported usage model
  Runtime->>Registry: Normalize reported model / preserve explicit older Opus selections
  Runtime-->>User: Session events and priced usage metadata
Loading

Reviews (6): Last reviewed commit: "ship: iteration 5 — align Droid Fast met..." | Re-trigger Greptile

@vercel

vercel Bot commented Jul 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
ade Ignored Ignored Preview Jul 25, 2026 7:53am

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Claude Opus 5 is integrated across desktop and iOS model registries, aliases, provider discovery, reasoning metadata, fast-mode handling, pricing, CLI planning, model catalogs, and generated CLI help.

Changes

Claude Opus 5 support

Layer / File(s) Summary
Canonical model contracts
apps/desktop/src/shared/*, apps/desktop/src/main/services/ai/*
Claude Opus 5 descriptors, aliases, runtime normalization, reasoning defaults, display names, and tests are updated.
Dynamic provider normalization
apps/desktop/src/main/services/chat/*, apps/desktop/src/main/services/opencode/*
Droid and OpenCode discovery normalize Opus aliases and propagate default reasoning effort into dynamic descriptors.
iOS catalogs and presentation
apps/ios/ADE/Resources/*, apps/ios/ADE/Views/*, apps/ios/ADETests/*
Mobile catalogs, alias matching, colors, reasoning tiers, fast-mode handling, glossary data, and tests recognize Opus 5.
CLI execution and pricing
apps/ade-cli/src/*, apps/desktop/src/main/services/usage/*, apps/desktop/src/renderer/components/terminals/*
CLI planning and launch tests cover high reasoning effort and fast mode, and static Opus 5 pricing is added.

CLI help refresh

Layer / File(s) Summary
Regenerated CLI help content
apps/desktop/resources/ade-cli-help.txt
Help text updates account, doctor, chat, storage, routing, lanes, PR snapshot, automation, browser, and settings commands.

Estimated code review effort: 4 (Complex) | ~45 minutes

Possibly related PRs

  • arul28/ADE#226: Both update the spawnChat model example in CTO tooling.
  • arul28/ADE#447: Both touch usage pricing and usage-statistics code paths.
  • arul28/ADE#669: Both update the ade chat create planning path and tests.

Suggested labels: desktop, ios, docs

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 14.29% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title references Claude 5 model ordering, which matches the PR’s main Opus 5 promotion and ordering updates.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch ade/platform-claude-docs-en-about-5e8a35c2

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
apps/ios/ADE/Resources/VoiceGlossary.json (1)

4-106: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

New entry pushes contextualTerms past the documented/tested 100-phrase cap.

The file's own _about comment says contextualTerms must stay under iOS's ~100-phrase cap for SpeechAnalyzer contextual biasing, and testBundledVoiceGlossaryKeepsContextualTermsWithinSpeechAnalyzerLimit asserts terms.count <= 100. Counting the full array shown here (lines 5–105), adding "Claude Opus 5" brings the total to 101 entries with no corresponding removal, which breaks that test and exceeds Apple's documented contextualStrings biasing limit (confirmed ~100 short phrases).

Trim an existing/stale entry (e.g., a superseded alias) when adding a new model term, or confirm the array is intentionally over budget and update the test/comment accordingly.

🩹 Example fix (pick whichever entry is least valuable to keep)
-    "Claude Opus 5",
     "Claude Opus 4.8",
     "Claude Sonnet 5",
     "Claude Haiku 4.5",
     "Claude Fable 5",
+    "Claude Opus 5",

(illustrative only — the real fix is to remove one stale term elsewhere in the list, not to drop the new one)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/ios/ADE/Resources/VoiceGlossary.json` around lines 4 - 106, Keep
contextualTerms at or below the documented 100-entry SpeechAnalyzer limit by
removing one stale or superseded term from the array while retaining the new
model term "Claude Opus 5". Preserve the existing glossary limit test and
related documentation; do not update them to permit more than 100 entries.
🧹 Nitpick comments (2)
apps/desktop/src/renderer/components/terminals/cliLaunch.test.ts (1)

443-453: 🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

Assert the fast-mode argument pairing and value.

arrayContaining checks the tokens independently, so the test would pass if --settings and its JSON payload were separated or reversed. Likewise, toContain("fastMode") does not prove the startup command serializes fastMode: true; assert the adjacent argument slice and the enabled value.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/desktop/src/renderer/components/terminals/cliLaunch.test.ts` around
lines 443 - 453, Strengthen the assertions in the launch test around the CLI
arguments and startupCommand: verify that --settings is immediately followed by
the JSON payload containing fastMode: true, rather than checking tokens
independently with arrayContaining. Replace the broad fastMode substring
assertion with a check that confirms the serialized enabled value and adjacent
argument pairing.
apps/ios/ADE/Views/Work/WorkChatComposerAndInputViews.swift (1)

215-224: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Duplicate opus-4-8 aliases within the same fastRefs set literal.

Lines 217-218 re-add "claude-opus-4-8", "anthropic/claude-opus-4-8", "anthropic/claude-opus-4-8-api", and "opencode/anthropic/claude-opus-4-8", which already exist verbatim at lines 223-224 in the same literal. Harmless since Set literals dedupe duplicate values at runtime, but it's dead weight from the migration edit.

♻️ Proposed cleanup
     "opus", "opus-5", "opus-5.0", "opus-5-0", "claude-opus-5",
     "anthropic/claude-opus-5", "anthropic/claude-opus-5-api", "opencode/anthropic/claude-opus-5",
-    "claude-opus-4-8", "anthropic/claude-opus-4-8", "anthropic/claude-opus-4-8-api",
-    "opencode/anthropic/claude-opus-4-8",
     "opus-4-7", "claude-opus-4-7", "anthropic/claude-opus-4-7",
     "anthropic/claude-opus-4-7-api", "opencode/anthropic/claude-opus-4-7",
     "opencode/anthropic/opus",
     "opus-1m", "opus[1m]", "claude-opus-4-7-1m", "anthropic/claude-opus-4-7-1m",
     "opus-4.8", "opus-4-8", "claude-opus-4-8", "anthropic/claude-opus-4-8",
     "opencode/anthropic/claude-opus-4-8",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/ios/ADE/Views/Work/WorkChatComposerAndInputViews.swift` around lines 215
- 224, Remove the duplicate opus-4-8 aliases from the fastRefs set literal,
specifically the repeated claude-opus-4-8, anthropic/claude-opus-4-8,
anthropic/claude-opus-4-8-api, and opencode/anthropic/claude-opus-4-8 entries.
Keep the original occurrences and all other aliases unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/desktop/src/main/services/chat/agentChatService.ts`:
- Around line 4423-4425: Update the selected Opus 4.8 branch in the surrounding
session model construction to return the existing sessionPayload, preserving
both the selected runtime model and modelId instead of returning model:
normalized. Keep the isBareClaudeOpusRuntimeAlias and sessionModelId conditions
intact.

---

Outside diff comments:
In `@apps/ios/ADE/Resources/VoiceGlossary.json`:
- Around line 4-106: Keep contextualTerms at or below the documented 100-entry
SpeechAnalyzer limit by removing one stale or superseded term from the array
while retaining the new model term "Claude Opus 5". Preserve the existing
glossary limit test and related documentation; do not update them to permit more
than 100 entries.

---

Nitpick comments:
In `@apps/desktop/src/renderer/components/terminals/cliLaunch.test.ts`:
- Around line 443-453: Strengthen the assertions in the launch test around the
CLI arguments and startupCommand: verify that --settings is immediately followed
by the JSON payload containing fastMode: true, rather than checking tokens
independently with arrayContaining. Replace the broad fastMode substring
assertion with a check that confirms the serialized enabled value and adjacent
argument pairing.

In `@apps/ios/ADE/Views/Work/WorkChatComposerAndInputViews.swift`:
- Around line 215-224: Remove the duplicate opus-4-8 aliases from the fastRefs
set literal, specifically the repeated claude-opus-4-8,
anthropic/claude-opus-4-8, anthropic/claude-opus-4-8-api, and
opencode/anthropic/claude-opus-4-8 entries. Keep the original occurrences and
all other aliases unchanged.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: cd92cb0a-a30e-43cf-be05-8b70a74ce893

📥 Commits

Reviewing files that changed from the base of the PR and between 3ffc58c and 45e84f6.

⛔ Files ignored due to path filters (4)
  • docs/ARCHITECTURE.md is excluded by !docs/**
  • docs/features/chat/README.md is excluded by !docs/**
  • docs/features/chat/agent-routing.md is excluded by !docs/**
  • docs/features/sync-and-multi-device/ios-companion.md is excluded by !docs/**
📒 Files selected for processing (24)
  • apps/ade-cli/src/cli.test.ts
  • apps/ade-cli/src/cli.ts
  • apps/ade-cli/src/tuiClient/components/ModelPicker/modelPickerLayout.test.ts
  • apps/desktop/resources/ade-cli-help.txt
  • apps/desktop/src/main/services/ai/claudeModelUtils.test.ts
  • apps/desktop/src/main/services/ai/claudeModelUtils.ts
  • apps/desktop/src/main/services/ai/tools/ctoOperatorTools.ts
  • apps/desktop/src/main/services/chat/agentChatService.ts
  • apps/desktop/src/main/services/chat/droidModelsDiscovery.test.ts
  • apps/desktop/src/main/services/chat/droidModelsDiscovery.ts
  • apps/desktop/src/main/services/cto/ctoStateService.ts
  • apps/desktop/src/main/services/opencode/openCodeInventory.test.ts
  • apps/desktop/src/main/services/opencode/openCodeInventory.ts
  • apps/desktop/src/main/services/usage/usagePricing.ts
  • apps/desktop/src/main/services/usage/usageTrackingService.test.ts
  • apps/desktop/src/renderer/components/terminals/cliLaunch.test.ts
  • apps/desktop/src/shared/claudeCliModels.ts
  • apps/desktop/src/shared/modelRegistry.test.ts
  • apps/desktop/src/shared/modelRegistry.ts
  • apps/ios/ADE/Resources/VoiceGlossary.json
  • apps/ios/ADE/Views/Components/ADEDesignSystem.swift
  • apps/ios/ADE/Views/Work/WorkChatComposerAndInputViews.swift
  • apps/ios/ADE/Views/Work/WorkModelCatalog.swift
  • apps/ios/ADETests/ADETests.swift

Comment thread apps/desktop/src/main/services/chat/agentChatService.ts
@arul28

arul28 commented Jul 25, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 47f1d8dde3

ℹ️ 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".

"GPT-5.5",
"GPT-5.4",
"GPT-5.3",
"GPT-5.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep GPT-5.3 in the dictation glossary

When a user dictates the still-supported gpt-5.3 alias, removing this contextual term makes speech recognition less reliable even though apps/desktop/src/shared/modelRegistry.ts still registers gpt-5.3 for GPT-5.3-Codex. This Opus-focused change should add the new Opus term without dropping an existing model name from the shared voice glossary.

Useful? React with 👍 / 👎.

@arul28

arul28 commented Jul 25, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 50387707ce

ℹ️ 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".

WorkModelOption(id: "claude-fable-5", displayName: "Claude Fable 5", tier: .flagship, tagline: "Flagship · 1M context", provider: "claude", serviceTiers: ["fast"]),
WorkModelOption(id: "claude-opus-4-8", displayName: "Claude Opus 4.8 1M", tier: .flagship, tagline: "Flagship · 1M context", provider: "claude", serviceTiers: ["fast"]),
WorkModelOption(
id: "claude-opus-5",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Add Opus 5 to the Droid fallback catalog

When the iOS picker is shown before the paired host's model catalog loads—or when that catalog is unavailable—it uses workCuratedModelCatalogGroups(). This change adds Opus 5 to the Claude and OpenCode fallback groups, but the Droid fallback group below still offers only claude-opus-4-6, its fast variant, and 4.5. As a result, mobile users in the fallback state cannot select the new primary Droid model and may instead launch a retired concrete ID; add a Droid Opus 5 fallback entry with the matching reasoning and fast-mode metadata.

Useful? React with 👍 / 👎.

@arul28

arul28 commented Jul 25, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
apps/ios/ADE/Views/Work/WorkModelCatalog.swift (1)

530-542: 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Normalize the new OpenCode Opus 5 route.

The catalog introduces opencode/anthropic/claude-opus-5, but the canonical and runtime switches do not recognize that alias, and workModelLookupKeys does not strip the opencode/ prefix. Consequently, workModelIdsEquivalent("opencode/anthropic/claude-opus-5", "claude-opus-5") returns false, breaking lookup/equivalence for the new OpenCode model.

Add the OpenCode aliases to both switches or normalize the opencode/ prefix centrally.

Proposed fix
-       "claude-opus-5", "anthropic/claude-opus-5", "anthropic/claude-opus-5-api":
+       "claude-opus-5", "anthropic/claude-opus-5", "anthropic/claude-opus-5-api",
+       "opencode/anthropic/claude-opus-5":

Apply the equivalent alias to workClaudeRuntimeModelId.

Also applies to: 812-814, 839-841

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/ios/ADE/Views/Work/WorkModelCatalog.swift` around lines 530 - 542,
Normalize the new OpenCode Opus 5 identifier across the model-resolution path.
Update the canonical and runtime switches, including workClaudeRuntimeModelId,
to recognize opencode/anthropic/claude-opus-5, and ensure workModelLookupKeys
removes the opencode/ prefix so it compares equivalently with claude-opus-5.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In `@apps/ios/ADE/Views/Work/WorkModelCatalog.swift`:
- Around line 530-542: Normalize the new OpenCode Opus 5 identifier across the
model-resolution path. Update the canonical and runtime switches, including
workClaudeRuntimeModelId, to recognize opencode/anthropic/claude-opus-5, and
ensure workModelLookupKeys removes the opencode/ prefix so it compares
equivalently with claude-opus-5.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4c2121b1-ed3b-4907-bf5b-1a8e7db02386

📥 Commits

Reviewing files that changed from the base of the PR and between 45e84f6 and 836e433.

📒 Files selected for processing (7)
  • apps/desktop/src/main/services/chat/agentChatService.test.ts
  • apps/desktop/src/main/services/chat/agentChatService.ts
  • apps/desktop/src/renderer/components/terminals/cliLaunch.test.ts
  • apps/ios/ADE/Resources/VoiceGlossary.json
  • apps/ios/ADE/Views/Work/WorkChatComposerAndInputViews.swift
  • apps/ios/ADE/Views/Work/WorkModelCatalog.swift
  • apps/ios/ADETests/ADETests.swift
💤 Files with no reviewable changes (1)
  • apps/ios/ADE/Resources/VoiceGlossary.json
🚧 Files skipped from review as they are similar to previous changes (3)
  • apps/desktop/src/renderer/components/terminals/cliLaunch.test.ts
  • apps/ios/ADETests/ADETests.swift
  • apps/ios/ADE/Views/Work/WorkChatComposerAndInputViews.swift

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: 836e4334cc

ℹ️ 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".

@arul28

arul28 commented Jul 25, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4fc66759af

ℹ️ 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".

capabilities: CANONICAL_DROID_ANTHROPIC_CAPABILITIES,
reasoningTiers: ["low", "medium", "high", "xhigh", "max"],
defaultReasoningEffort: "high",
serviceTiers: ["fast"],

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Wire Droid fast mode before advertising it

When Droid discovery canonicalizes a bare opus model (or a custom Opus 5 proxy), this metadata makes the desktop and iOS pickers offer Fast mode, but neither Droid launch path consumes the resulting flag: buildDroidSdkSessionSettings sends only model, autonomy, interaction, and reasoning settings, while the Droid branch of buildTrackedCliLaunchCommand omits args.fastMode. Selecting Fast therefore silently launches the standard Droid model. Either pass the provider's fast setting/model through both SDK and CLI launches or stop publishing this service tier for Droid.

Useful? React with 👍 / 👎.

@arul28

arul28 commented Jul 25, 2026

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f87ba5950e

ℹ️ 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".

Comment on lines +215 to +216
"opus", "opus-5", "opus-5.0", "opus-5-0", "claude-opus-5",
"anthropic/claude-opus-5", "anthropic/claude-opus-5-api", "opencode/anthropic/claude-opus-5",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Keep Droid Opus 5 out of the Fast fallback

When the provider is Droid and the model is claude-opus-5, workComposerModelOption correctly finds the new Droid catalog row without a Fast service tier, but this unconditional fallback still makes workComposerSupportsFastMode("claude-opus-5", "droid") return true. The mobile composers therefore expose and persist an inert Fast toggle even though createDynamicDroidCliModelDescriptor explicitly strips this tier because Droid's launch contract does not consume it; scope these aliases to Claude/OpenCode providers (and update the contradictory Droid Fast documentation) rather than matching the model reference alone.

Useful? React with 👍 / 👎.

@arul28
arul28 merged commit e5637e0 into main Jul 25, 2026
34 checks passed
@arul28
arul28 deleted the ade/platform-claude-docs-en-about-5e8a35c2 branch July 25, 2026 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant