mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-15 16:14:26 +00:00
feat: support claude opus 5
This commit is contained in:
1 parent
2043c65de7
commit
ee90dd2640
5 files changed
+84
-1
No files matched your search
@@ -499,6 +499,23 @@ export const MODEL_CATALOG: Partial<Record<CLIProxyProvider, ProviderCatalog>> =
|
||||
},
|
||||
extendedContext: true,
|
||||
},
|
||||
{
|
||||
id: 'claude-opus-5',
|
||||
name: 'Claude Opus 5',
|
||||
description: 'Latest premium model',
|
||||
nativeImageInput: true,
|
||||
// Opus 5 (released 2026-07-14) uses adaptive thinking, matching Sonnet 5
|
||||
// and Opus 4.8: Anthropic accepts only effort levels; manual budget_tokens
|
||||
// is rejected with 400. Proxy metadata reports zero + dynamic allowed.
|
||||
thinking: {
|
||||
type: 'levels',
|
||||
levels: ['low', 'medium', 'high', 'xhigh', 'max'],
|
||||
maxLevel: 'max',
|
||||
zeroAllowed: true,
|
||||
dynamicAllowed: true,
|
||||
},
|
||||
extendedContext: true,
|
||||
},
|
||||
{
|
||||
id: 'claude-opus-4-8',
|
||||
name: 'Claude Opus 4.8',
|
||||
|
||||
Reference in new issue
Block a user