Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions frontend/src/components/keys/UseKeyModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,8 @@ function generateOpenAIFiles(baseUrl: string, apiKey: string): FileConfig[] {

// config.toml content
const configContent = `model_provider = "OpenAI"
model = "gpt-5.5"
review_model = "gpt-5.5"
model = "gpt-5.6"
review_model = "gpt-5.6"
model_reasoning_effort = "xhigh"
disable_response_storage = true
network_access = "enabled"
Expand Down Expand Up @@ -574,8 +574,8 @@ function generateOpenAIWsFiles(baseUrl: string, apiKey: string): FileConfig[] {

// config.toml content with WebSocket v2
const configContent = `model_provider = "OpenAI"
model = "gpt-5.5"
review_model = "gpt-5.5"
model = "gpt-5.6"
review_model = "gpt-5.6"
model_reasoning_effort = "xhigh"
disable_response_storage = true
network_access = "enabled"
Expand Down
12 changes: 6 additions & 6 deletions frontend/src/components/keys/__tests__/UseKeyModal.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ vi.mock('@/composables/useClipboard', () => ({
import UseKeyModal from '../UseKeyModal.vue'

describe('UseKeyModal', () => {
it('renders GPT-5.5 and goals feature in OpenAI Codex config', () => {
it('renders GPT-5.6 and goals feature in OpenAI Codex config', () => {
const wrapper = mount(UseKeyModal, {
props: {
show: true,
Expand All @@ -41,15 +41,15 @@ describe('UseKeyModal', () => {
const configToml = codeBlocks.find((content) => content.includes('model_provider = "OpenAI"'))

expect(configToml).toBeDefined()
expect(configToml).toContain('model = "gpt-5.5"')
expect(configToml).toContain('review_model = "gpt-5.5"')
expect(configToml).toContain('model = "gpt-5.6"')
expect(configToml).toContain('review_model = "gpt-5.6"')
expect(configToml).not.toContain('model = "gpt-5.4"')
expect(configToml).not.toContain('model_context_window')
expect(configToml).not.toContain('model_auto_compact_token_limit')
expect(configToml).toContain('[features]\ngoals = true')
})

it('renders GPT-5.5 and goals feature in OpenAI Codex WebSocket config', async () => {
it('renders GPT-5.6 and goals feature in OpenAI Codex WebSocket config', async () => {
const wrapper = mount(UseKeyModal, {
props: {
show: true,
Expand Down Expand Up @@ -81,8 +81,8 @@ describe('UseKeyModal', () => {
const configToml = codeBlocks.find((content) => content.includes('supports_websockets = true'))

expect(configToml).toBeDefined()
expect(configToml).toContain('model = "gpt-5.5"')
expect(configToml).toContain('review_model = "gpt-5.5"')
expect(configToml).toContain('model = "gpt-5.6"')
expect(configToml).toContain('review_model = "gpt-5.6"')
expect(configToml).not.toContain('model = "gpt-5.4"')
expect(configToml).not.toContain('model_context_window')
expect(configToml).not.toContain('model_auto_compact_token_limit')
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/__tests__/ccswitchImport.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ 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')
expect(OPENAI_CC_SWITCH_CODEX_MODEL).toBe('gpt-5.6')
})

const baseInput = {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/utils/ccswitchImport.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { GroupPlatform } from '@/types'

export const OPENAI_CC_SWITCH_CODEX_MODEL = 'gpt-5.5'
export const OPENAI_CC_SWITCH_CODEX_MODEL = 'gpt-5.6'

export type CcSwitchClientType = 'claude' | 'gemini'

Expand Down
Loading