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:
Sergey Galuza
2026-04-20 18:43:15 +02:00
parent faca421705
commit 0d09199439
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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(
+1 -1
View File
@@ -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',