Skip to content

Commit d2ff9c0

Browse files
authored
Merge pull request #3369 from skyswordw/codex/default-ccswitch-openai-gpt-55
fix(ccswitch): default OpenAI import model to gpt-5.5
2 parents 92ce5bf + d3dfa28 commit d2ff9c0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

frontend/src/utils/__tests__/ccswitchImport.spec.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ function paramsFromDeeplink(deeplink: string): URLSearchParams {
1111
}
1212

1313
describe('ccswitchImport utils', () => {
14+
it('defaults OpenAI CC Switch imports to the current Codex model', () => {
15+
expect(OPENAI_CC_SWITCH_CODEX_MODEL).toBe('gpt-5.5')
16+
})
17+
1418
const baseInput = {
1519
baseUrl: 'https://api.example.com',
1620
providerName: 'Sub2API',

frontend/src/utils/ccswitchImport.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { GroupPlatform } from '@/types'
22

3-
export const OPENAI_CC_SWITCH_CODEX_MODEL = 'gpt-5.4'
3+
export const OPENAI_CC_SWITCH_CODEX_MODEL = 'gpt-5.5'
44

55
export type CcSwitchClientType = 'claude' | 'gemini'
66

0 commit comments

Comments
 (0)