LLM-21851 [Codex] Model selector #41
Annotations
6 errors
|
test
Process completed with exit code 1.
|
|
src/__tests__/CodexACPAgent/CodexAcpClient.test.ts > ACP server test > should authenticate with key:
src/__tests__/CodexACPAgent/CodexAcpClient.test.ts#L57
Error: Snapshot `ACP server test > should authenticate with key 1` mismatched
- Expected
+ Received
@@ -26,11 +26,11 @@
}
{
"eventType": "request",
"method": "thread/start",
"params": {
- "config": null,
+ "config": {},
"modelProvider": null,
"model": null,
"cwd": "cwd",
"approvalPolicy": "never",
"sandbox": "sandbox",
@@ -46,5 +46,130 @@
"cwd": "cwd",
"approvalPolicy": "never",
"sandbox": "sandbox",
"reasoningEffort": "reasoningEffort"
}
+ {
+ "eventType": "request",
+ "method": "model/list",
+ "params": {
+ "cursor": null,
+ "limit": null
+ }
+ }
+ {
+ "eventType": "notification",
+ "method": "codex/event/mcp_startup_complete",
+ "params": {
+ "id": "id",
+ "msg": {
+ "type": "mcp_startup_complete",
+ "ready": [],
+ "failed": [],
+ "cancelled": []
+ },
+ "conversationId": "019b222d-ab29-7441-9556-7570d3e55f61"
+ },
+ "jsonrpc": "2.0"
+ }
+ {
+ "eventType": "notification",
+ "method": "thread/started",
+ "params": {
+ "thread": "thread"
+ },
+ "jsonrpc": "2.0"
+ }
+ {
+ "eventType": "response",
+ "data": [
+ {
+ "id": "id",
+ "model": "gpt-5.1-codex-max",
+ "displayName": "gpt-5.1-codex-max",
+ "description": "Latest Codex-optimized flagship for deep and fast reasoning.",
+ "supportedReasoningEfforts": [
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Fast responses with lighter reasoning"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Balances speed and reasoning depth for everyday tasks"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Maximizes reasoning depth for complex problems"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Extra high reasoning depth for complex problems"
+ }
+ ],
+ "defaultReasoningEffort": "medium",
+ "isDefault": true
+ },
+ {
+ "id": "id",
+ "model": "gpt-5.1-codex",
+ "displayName": "gpt-5.1-codex",
+ "description": "Optimized for codex.",
+ "supportedReasoningEfforts": [
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Fastest responses with limited reasoning"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Dynamically adjusts reasoning based on the task"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Maximizes reasoning depth for complex or ambiguous problems"
+ }
+ ],
+ "defaultReasoningEffort": "medium",
+ "isDefault": false
+ },
+ {
+ "id": "id",
+ "model": "gpt-5.1-codex-mini",
+ "displayName": "gpt-5.1-codex-mini",
+ "description": "Optimized for codex. Cheaper, faster, but less capable.",
+ "supportedReasoningEfforts": [
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Dynamically adjusts reasoning based on the task"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Maximizes reasoning depth for complex or ambiguous problems"
+ }
+ ],
+ "defaultReasoningEffort": "medium",
+ "isDefault": false
+ },
+ {
+ "id": "id",
+ "model": "gpt-5.1",
+ "displayName": "gpt-5.1",
+ "description": "Broad world knowledge with strong general reasoning.",
+ "supportedReasoningEfforts": [
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Balances speed with some reasoning; useful for straightforward queries and short explanations"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Provides a solid balance of reasoning depth and latency for general-purpose tasks"
+ },
+ {
+
|
|
src/__tests__/CodexACPAgent/CodexAcpClient.test.ts > ACP server test > should start conversation:
src/__tests__/CodexACPAgent/CodexAcpClient.test.ts#L26
Error: Snapshot `ACP server test > should start conversation 1` mismatched
- Expected
+ Received
@@ -15,11 +15,11 @@
}
{
"eventType": "request",
"method": "thread/start",
"params": {
- "config": null,
+ "config": {},
"modelProvider": null,
"model": null,
"cwd": "cwd",
"approvalPolicy": "never",
"sandbox": "sandbox",
@@ -37,10 +37,135 @@
"sandbox": "sandbox",
"reasoningEffort": "reasoningEffort"
}
{
"eventType": "request",
+ "method": "model/list",
+ "params": {
+ "cursor": null,
+ "limit": null
+ }
+ }
+ {
+ "eventType": "notification",
+ "method": "thread/started",
+ "params": {
+ "thread": "thread"
+ },
+ "jsonrpc": "2.0"
+ }
+ {
+ "eventType": "notification",
+ "method": "codex/event/mcp_startup_complete",
+ "params": {
+ "id": "id",
+ "msg": {
+ "type": "mcp_startup_complete",
+ "ready": [],
+ "failed": [],
+ "cancelled": []
+ },
+ "conversationId": "019b222d-a95d-7db0-8069-c6402909200c"
+ },
+ "jsonrpc": "2.0"
+ }
+ {
+ "eventType": "response",
+ "data": [
+ {
+ "id": "id",
+ "model": "gpt-5.1-codex-max",
+ "displayName": "gpt-5.1-codex-max",
+ "description": "Latest Codex-optimized flagship for deep and fast reasoning.",
+ "supportedReasoningEfforts": [
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Fast responses with lighter reasoning"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Balances speed and reasoning depth for everyday tasks"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Maximizes reasoning depth for complex problems"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Extra high reasoning depth for complex problems"
+ }
+ ],
+ "defaultReasoningEffort": "medium",
+ "isDefault": true
+ },
+ {
+ "id": "id",
+ "model": "gpt-5.1-codex",
+ "displayName": "gpt-5.1-codex",
+ "description": "Optimized for codex.",
+ "supportedReasoningEfforts": [
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Fastest responses with limited reasoning"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Dynamically adjusts reasoning based on the task"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Maximizes reasoning depth for complex or ambiguous problems"
+ }
+ ],
+ "defaultReasoningEffort": "medium",
+ "isDefault": false
+ },
+ {
+ "id": "id",
+ "model": "gpt-5.1-codex-mini",
+ "displayName": "gpt-5.1-codex-mini",
+ "description": "Optimized for codex. Cheaper, faster, but less capable.",
+ "supportedReasoningEfforts": [
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Dynamically adjusts reasoning based on the task"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Maximizes reasoning depth for complex or ambiguous problems"
+ }
+ ],
+ "defaultReasoningEffort": "medium",
+ "isDefault": false
+ },
+ {
+ "id": "id",
+ "model": "gpt-5.1",
+ "displayName": "gpt-5.1",
+ "description": "Broad world knowledge with strong general reasoning.",
+ "supportedReasoningEfforts": [
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Balances speed with some reasoning; useful for straightforward queries and short explanations"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+ "description": "Provides a solid balance of reasoning depth and latency for general-purpose tasks"
+ },
+ {
+ "reasoningEffort": "reasoningEffort",
+
|
|
Unhandled error:
src/CodexEventHandler.ts#L29
TypeError: Cannot read properties of undefined (reading 'sessionId')
❯ CodexEventHandler.handleNotification src/CodexEventHandler.ts:29:101
❯ src/CodexAcpServer.ts:158:84
❯ CodexAppServerClient.onServerNotification src/__tests__/CodexACPAgent/CodexAcpClient.test.ts:69:17
❯ CodexAcpClient.sendPrompt src/CodexAcpClient.ts:105:26
❯ CodexAcpServer.prompt src/CodexAcpServer.ts:158:39
❯ src/__tests__/CodexACPAgent/CodexAcpClient.test.ts:84:29
This error originated in "src/__tests__/CodexACPAgent/CodexAcpClient.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should map events from dump". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/CodexEventHandler.ts#L29
TypeError: Cannot read properties of undefined (reading 'sessionId')
❯ CodexEventHandler.handleNotification src/CodexEventHandler.ts:29:101
❯ src/CodexAcpServer.ts:158:84
❯ CodexAppServerClient.onServerNotification src/__tests__/CodexACPAgent/CodexAcpClient.test.ts:69:17
❯ CodexAcpClient.sendPrompt src/CodexAcpClient.ts:105:26
❯ CodexAcpServer.prompt src/CodexAcpServer.ts:158:39
❯ src/__tests__/CodexACPAgent/CodexAcpClient.test.ts:84:29
This error originated in "src/__tests__/CodexACPAgent/CodexAcpClient.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should map events from dump". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
Unhandled error:
src/CodexEventHandler.ts#L29
TypeError: Cannot read properties of undefined (reading 'sessionId')
❯ CodexEventHandler.handleNotification src/CodexEventHandler.ts:29:101
❯ src/CodexAcpServer.ts:158:84
❯ CodexAppServerClient.onServerNotification src/__tests__/CodexACPAgent/CodexAcpClient.test.ts:69:17
❯ CodexAcpClient.sendPrompt src/CodexAcpClient.ts:105:26
❯ CodexAcpServer.prompt src/CodexAcpServer.ts:158:39
❯ src/__tests__/CodexACPAgent/CodexAcpClient.test.ts:84:29
This error originated in "src/__tests__/CodexACPAgent/CodexAcpClient.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "should map events from dump". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
binaries
Expired
|
162 MB |
sha256:cd5043a533a9d2de69b1db2d3385cb5e9a961200a67c743033d93fe3b4a5b6a4
|
|