This commit is contained in:
Liang-Ting Jiang
2026-04-22 03:14:51 -07:00
parent 3f7c64b70b
commit 9cd1c65809
2 changed files with 3 additions and 3 deletions

View File

@@ -2982,4 +2982,4 @@
},
"title": "ConfigToml",
"type": "object"
}
}

View File

@@ -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()),