mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-09-21 14:19:18 +08:00
Merge pull request #3369 from skyswordw/codex/default-ccswitch-openai-gpt-55
fix(ccswitch): default OpenAI import model to gpt-5.5
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user