Repository navigation
fix(ai): desktop browse never downloads browsers; international Auto defaults to Claude Sonnet 5.5 (dev-board#1951) - #1950
Merged
Conversation
…defaults to Claude Sonnet 5.5 browse_url on the desktop (security.local-mode) created Playwright 1.43 with its default browser install: Chromium+Firefox+WebKit (677 MB on Windows) from a CDN that now answers 400 for these builds, so a user's first web browse hung for minutes while the turn kept billing (0.93 global-user QA, dev-board#1951). The desktop now starts Playwright with PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1, uses the installed Edge/Chrome (Edge first on Windows), and falls back to a plain HTTP fetch whose every redirect hop passes SsrfGuard. Server mode is unchanged. Auto (SmartModelRouter) on the INTERNATIONAL network region now routes every tier to the new catalogue entry anthropic/claude-sonnet-5.5 ($2/$10 per M, 1M context, vision); the tier still sets reasoning effort. Domestic routing and manual selection of any model, Chinese models included, are unchanged. Tests: WebToolsDesktopBrowseTest (new), SmartModelRouterTest (3 new international assertions red on the old router), AllowedModelsTest. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
The orchestrator always passes networkRegion=INTERNATIONAL to the router, so the first version sent every Auto user to Claude, including mainland users on their own OpenRouter key (Claude is region-blocked there). The router now takes an explicit claudeDefault flag; the orchestrator sets it only for platform AI that is not the domestic (Bailian) channel. Tier rules for everyone else are back to origin/master. AgentSkillUpdateEventTest covers intl (Sonnet 5.5, red without this change) and domestic (unchanged). dev-board#1951 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… object (dev-board#272) retryAfterTheBackgroundFailureLandsIsALegitimateSecondSubmit read getStatus() on the object startTranscription returns, which is the same object the background continuation marks FAILED. On a fast runner it read FAILED and went red twice on PR #1950. The test now records each status at save time and checks A and B each persist TRANSCRIBING before their background FAILED. 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.
From the 0.93 global-user QA (dev-board#1951), for 0.93.1.
1. First web browse hung (every desktop user).
browse_urlcreated Playwright 1.43 with its default browser install: Chromium + Firefox + WebKit (677 MB on Windows). The primary CDN now answers 400 for these builds (verified from Singapore) and the mirror ran ~0.5 MB/s, so the Mac run hung >8 min while billing. On the desktop (security.local-mode) Playwright now starts withPLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1(1.43 reads it fromCreateOptions.envfirst; checked in DriverJar), uses the installed Edge/Chrome (Edge first on Windows), and falls back to a plain HTTP fetch: no JS, every redirect hop throughSsrfGuard, 5 MB cap, HTML/plain text only, errors never presented as empty pages. Server mode unchanged.2. International default model. Owner decision: default to Claude Sonnet 5.5, keep Chinese models available. New catalogue entry
anthropic/claude-sonnet-5.5($2/$10 per M, 1M context, vision; matches OpenRouter today). Auto routes every tier to it for international platform AI only (usesProviderCatalog() && !isDomesticPlatform(), passed to the router asclaudeDefault); the tier still sets reasoning effort. The orchestrator always passes networkRegion=INTERNATIONAL, so keying on the region would have moved mainland own-key users to Claude too (2nd commit). Domestic platform, own-key routing and manual model choice unchanged.Tests
WebToolsDesktopBrowseTest(new, 5): skip-download env, channel order, plain fetch text extraction, guard on each redirect hop, 4xx/non-HTML errors.SmartModelRouterTest7/7; on the old router 3 failures (expected anthropic/claude-sonnet-5.5 but was …-sonnet-5 / deepseek-v4-flash / gemini-3.6-flash).AllowedModelsTest12/12.🤖 Generated with Claude Code