Repository navigation
fix(ai): international platform default model is Claude Sonnet 5.5, not OpenRouter's first listing (dev-board#1951) - #1966
Merged
Conversation
…ot OpenRouter's first listing The website's ai-key response carries no defaultModel for OpenRouter, so the desktop took the first tool-capable model in openrouter.ai/models. On 2026-12-05 that was stealth/tinsel-alpha, which the provider rejected: a real 0.93.1-RC chat on Windows showed the user a 'model unavailable, switched to fallback' notice first (dev-board#1951). Order is now: server default -> anthropic/claude-sonnet-5.5 -> first tool-capable. Bailian unchanged. PlatformModelCatalogTest reproduces the old pick (red) and the fix (green). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Found while verifying the 0.93.1 RC on a real Windows 11 PC: the welcome-screen quick chat (not Auto) used the platform default model, which on International was OpenRouter's first tool-capable listing:
stealth/tinsel-alphatoday, rejected by the provider, so the user first saw Model … is unavailable … switched to fallback deepseek-v4-flash.The website's
ai-keyresponse has nodefaultModelfor OpenRouter.PlatformModelCatalog.parsenow picks: server default →anthropic/claude-sonnet-5.5(owner decision: default Sonnet 5.5) → first tool-capable. Bailian unchanged.Tests:
PlatformModelCatalogTest+2 (old code:expected anthropic/claude-sonnet-5.5 but was stealth/tinsel-alpha; server default still wins);BailianPlatformConnectionTest7/7,ChatModelFactoryTest76/76.🤖 Generated with Claude Code