This commit is contained in:
Channing Conger
2026-03-10 20:47:45 -07:00
parent d8e79b65cb
commit 10096d8d5d

View File

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