Merge pull request #1499 from emthy0/fix/claude-defautl-model-legacty

fix: Update default sonnet model as old one is no longer existed (404)
This commit is contained in:
musi 2026-07-08 19:27:03 +08:00 committed by GitHub
commit 990bc0d958
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,10 +20,9 @@ import {
type OAuthTokenSet
} from "@ccr/core/agents/local-providers/shared";
const claudeDefaultModels = ["claude-sonnet-5"];
const claudeCodeKeychainService = "Claude Code-credentials";
const claudeDefaultModels = ["claude-sonnet-4-20250514"];
const percentLimitMapping = (id: string, label: string, path: string, window: string) => ({
id,
kind: "quota" as const,