From 0d09199439d335d948ac1a7e48e00cac5b18be27 Mon Sep 17 00:00:00 2001 From: Sergey Galuza Date: Mon, 20 Apr 2026 18:43:15 +0200 Subject: [PATCH] fix(cliproxy): address Presto review feedback on Opus 4.7 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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) --- src/cliproxy/config/generator.ts | 4 +++- src/cliproxy/model-catalog.ts | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cliproxy/config/generator.ts b/src/cliproxy/config/generator.ts index e64c4f8c..7ea5abaf 100644 --- a/src/cliproxy/config/generator.ts +++ b/src/cliproxy/config/generator.ts @@ -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( diff --git a/src/cliproxy/model-catalog.ts b/src/cliproxy/model-catalog.ts index a7fa5eac..f2038161 100644 --- a/src/cliproxy/model-catalog.ts +++ b/src/cliproxy/model-catalog.ts @@ -108,7 +108,7 @@ export const MODEL_CATALOG: Partial> = { id: 'claude-opus-4-7', name: 'Claude Opus 4.7', - description: 'Latest flagship without thinking', + description: 'Latest flagship model', nativeImageInput: true, thinking: { type: 'budget',