Skip to content

Commit aca7f43

Browse files
committed
Codex
1 parent 2423255 commit aca7f43

File tree

5 files changed

+6
-2
lines changed

5 files changed

+6
-2
lines changed

apps/sim/app/api/copilot/chat/route.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ const ChatMessageSchema = z.object({
5454
'gpt-5.1-codex',
5555
'gpt-5.2',
5656
'gpt-5.2-codex',
57+
'gpt-5.2-pro',
5758
'gpt-4o',
5859
'gpt-4.1',
5960
'o3',

apps/sim/app/api/copilot/user-models/route.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,9 @@ const DEFAULT_ENABLED_MODELS: Record<string, boolean> = {
2020
'gpt-5.1-high': false,
2121
'gpt-5-codex': false,
2222
'gpt-5.1-codex': false,
23-
'gpt-5.2': true,
23+
'gpt-5.2': false,
2424
'gpt-5.2-codex': true,
25+
'gpt-5.2-pro': true,
2526
o3: true,
2627
'claude-4-sonnet': false,
2728
'claude-4.5-haiku': true,

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/user-input/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ export const MODEL_OPTIONS = [
239239
{ value: 'claude-4.5-sonnet', label: 'Claude 4.5 Sonnet' },
240240
{ value: 'claude-4.5-haiku', label: 'Claude 4.5 Haiku' },
241241
{ value: 'gpt-5.2-codex', label: 'GPT 5.2 Codex' },
242-
{ value: 'gpt-5.2', label: 'GPT 5.2' },
242+
{ value: 'gpt-5.2-pro', label: 'GPT 5.2 Pro' },
243243
{ value: 'gemini-3-pro', label: 'Gemini 3 Pro' },
244244
] as const
245245

apps/sim/lib/copilot/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export interface SendMessageRequest {
7979
| 'gpt-5.1-codex'
8080
| 'gpt-5.2'
8181
| 'gpt-5.2-codex'
82+
| 'gpt-5.2-pro'
8283
| 'gpt-4o'
8384
| 'gpt-4.1'
8485
| 'o3'

apps/sim/stores/panel/copilot/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export interface CopilotState {
108108
| 'gpt-5.1-codex'
109109
| 'gpt-5.2'
110110
| 'gpt-5.2-codex'
111+
| 'gpt-5.2-pro'
111112
| 'gpt-4o'
112113
| 'gpt-4.1'
113114
| 'o3'

0 commit comments

Comments
 (0)