From 9cd1c65809b2a96751c22d12a36e5cda31a9d57d Mon Sep 17 00:00:00 2001 From: Liang-Ting Jiang Date: Wed, 22 Apr 2026 03:14:51 -0700 Subject: [PATCH] clean --- codex-rs/core/config.schema.json | 2 +- codex-rs/core/tests/suite/openai_file_mcp.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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()),