From 10096d8d5d693c28584d392b15ac46db32632aa0 Mon Sep 17 00:00:00 2001 From: Channing Conger Date: Tue, 10 Mar 2026 20:47:45 -0700 Subject: [PATCH] Test fix --- codex-rs/core/src/tools/router.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codex-rs/core/src/tools/router.rs b/codex-rs/core/src/tools/router.rs index bd4d0e3388..ee665f4eb2 100644 --- a/codex-rs/core/src/tools/router.rs +++ b/codex-rs/core/src/tools/router.rs @@ -193,7 +193,7 @@ impl ToolRouter { "direct tool calls are disabled for this dynamic tool; use js_repl and codex.tool(...) instead" .to_string(), ); - return Ok(Self::failure_response( + return Ok(Self::failure_result( failure_call_id, payload_outputs_custom, err,