diff --git a/codex-rs/core/config.schema.json b/codex-rs/core/config.schema.json index c68493fc17..a5d6fbdf85 100644 --- a/codex-rs/core/config.schema.json +++ b/codex-rs/core/config.schema.json @@ -2982,4 +2982,4 @@ }, "title": "ConfigToml", "type": "object" -} +} \ No newline at end of file diff --git a/codex-rs/core/tests/suite/openai_file_mcp.rs b/codex-rs/core/tests/suite/openai_file_mcp.rs index 0962a4ab9c..211aa67381 100644 --- a/codex-rs/core/tests/suite/openai_file_mcp.rs +++ b/codex-rs/core/tests/suite/openai_file_mcp.rs @@ -42,7 +42,7 @@ async fn codex_apps_file_params_upload_local_paths_before_mcp_tool_call() -> Res let apps_server = AppsTestServer::mount(&server).await?; Mock::given(method("POST")) - .and(path("/api/files")) + .and(path("/files")) .and(header("chatgpt-account-id", "account_id")) .and(body_json(json!({ "file_name": "report.txt", @@ -64,7 +64,7 @@ async fn codex_apps_file_params_upload_local_paths_before_mcp_tool_call() -> Res .mount(&server) .await; Mock::given(method("POST")) - .and(path("/api/files/file_123/uploaded")) + .and(path("/files/file_123/uploaded")) .respond_with(ResponseTemplate::new(200).set_body_json(json!({ "status": "success", "download_url": format!("{}/download/file_123", server.uri()),