From 912e229f72b9e942d2287e8018207a9d350c461d Mon Sep 17 00:00:00 2001 From: Surma Date: Sat, 7 Nov 2026 13:08:09 +0000 Subject: [PATCH] harness: set Options.tool_call (None until T48) after the T41 merge --- host/src/harness/environment.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/src/harness/environment.rs b/host/src/harness/environment.rs index db88854..709c4c3 100644 --- a/host/src/harness/environment.rs +++ b/host/src/harness/environment.rs @@ -96,7 +96,7 @@ pub fn op_exec( }; let (sender, receiver) = tokio::sync::mpsc::unbounded_channel(); let task = tokio::spawn(async move { - let result = exec.exec(command, Options { cwd, env: env.unwrap_or_default(), conversations: conversations.unwrap_or_else(|| conversation.into_iter().collect()), timeout: timeout.map(std::time::Duration::from_secs_f64) }, &mut |stream, bytes| { let _ = sender.send(json!({"stream": if stream == Stream::Stdout {"stdout"} else {"stderr"}, "bytes": bytes})); }).await; + let result = exec.exec(command, Options { cwd, env: env.unwrap_or_default(), conversations: conversations.unwrap_or_else(|| conversation.into_iter().collect()), timeout: timeout.map(std::time::Duration::from_secs_f64), tool_call: None }, &mut |stream, bytes| { let _ = sender.send(json!({"stream": if stream == Stream::Stdout {"stdout"} else {"stderr"}, "bytes": bytes})); }).await; let _ = sender.send(match result { Ok(exit) => json!({"exitCode": exit}), Err(e) => json!({"error": e.to_string()}),