mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 04:18:05 +00:00
fix(cliproxy): address Presto review feedback on Opus 4.7
- model-catalog: change `claude-opus-4-7` description from "Latest flagship without thinking" to "Latest flagship model". The model supports thinking budget (min 1024, max 128000) but doesn't enable it by default; the old wording implied no thinking support, which was misleading. Aligns with the `claude` provider's description. - generator: add DEFAULT_ANTIGRAVITY_ALIASES entry for non-thinking `claude-opus-4-7`, restoring symmetry with `claude-sonnet-4-6` (which has both -thinking and non-thinking aliases). Bump CLIPROXY_CONFIG_VERSION 18 → 19 to trigger regeneration on upgrade. Addresses PResto atrvd/ccs#8 issues #2 (important) and #3 (suggestion). Built [OnSteroids](https://onsteroids.ai)
This commit is contained in:
@@ -41,8 +41,9 @@ export const CCS_CONTROL_PANEL_SECRET = 'ccs';
|
||||
* v16: Narrow stale Gemini alias cleanup to broad multi-version guessed ranges
|
||||
* v17: Persist routing.strategy from CCS unified config
|
||||
* v18: Added Claude Opus 4.7 Thinking alias and promoted to default AGY model
|
||||
* v19: Added Claude Opus 4.7 non-thinking alias for symmetry with Sonnet
|
||||
*/
|
||||
export const CLIPROXY_CONFIG_VERSION = 18;
|
||||
export const CLIPROXY_CONFIG_VERSION = 19;
|
||||
|
||||
interface RegenerateConfigOptions {
|
||||
configPath?: string;
|
||||
@@ -88,6 +89,7 @@ const DEFAULT_ANTIGRAVITY_ALIASES: OAuthModelAliasEntry[] = [
|
||||
{ name: 'claude-sonnet-4-6-thinking', alias: 'claude-sonnet-4-6', fork: true },
|
||||
{ name: 'claude-opus-4-6-thinking', alias: 'claude-opus-4-6-thinking', fork: true },
|
||||
{ name: 'claude-opus-4-7-thinking', alias: 'claude-opus-4-7-thinking', fork: true },
|
||||
{ name: 'claude-opus-4-7', alias: 'claude-opus-4-7', fork: true },
|
||||
];
|
||||
|
||||
const BUILT_IN_GEMINI_ALIAS_NAMES = new Set(
|
||||
|
||||
@@ -108,7 +108,7 @@ export const MODEL_CATALOG: Partial<Record<CLIProxyProvider, ProviderCatalog>> =
|
||||
{
|
||||
id: 'claude-opus-4-7',
|
||||
name: 'Claude Opus 4.7',
|
||||
description: 'Latest flagship without thinking',
|
||||
description: 'Latest flagship model',
|
||||
nativeImageInput: true,
|
||||
thinking: {
|
||||
type: 'budget',
|
||||
|
||||
Reference in New Issue
Block a user