From d3dfa28f8e4dd8e8a31b87dd260303ec3f184a59 Mon Sep 17 00:00:00 2001 From: skywalker Date: Fri, 19 Jun 2026 16:37:40 +0800 Subject: [PATCH] Update CC Switch OpenAI default model --- frontend/src/utils/__tests__/ccswitchImport.spec.ts | 4 ++++ frontend/src/utils/ccswitchImport.ts | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/frontend/src/utils/__tests__/ccswitchImport.spec.ts b/frontend/src/utils/__tests__/ccswitchImport.spec.ts index 4e0eb1b2727..9c1e6b27c76 100644 --- a/frontend/src/utils/__tests__/ccswitchImport.spec.ts +++ b/frontend/src/utils/__tests__/ccswitchImport.spec.ts @@ -11,6 +11,10 @@ function paramsFromDeeplink(deeplink: string): URLSearchParams { } describe('ccswitchImport utils', () => { + it('defaults OpenAI CC Switch imports to the current Codex model', () => { + expect(OPENAI_CC_SWITCH_CODEX_MODEL).toBe('gpt-5.5') + }) + const baseInput = { baseUrl: 'https://api.example.com', providerName: 'Sub2API', diff --git a/frontend/src/utils/ccswitchImport.ts b/frontend/src/utils/ccswitchImport.ts index 79411d2ff1a..1446547bea0 100644 --- a/frontend/src/utils/ccswitchImport.ts +++ b/frontend/src/utils/ccswitchImport.ts @@ -1,6 +1,6 @@ import type { GroupPlatform } from '@/types' -export const OPENAI_CC_SWITCH_CODEX_MODEL = 'gpt-5.4' +export const OPENAI_CC_SWITCH_CODEX_MODEL = 'gpt-5.5' export type CcSwitchClientType = 'claude' | 'gemini'