Kill shell tool process groups on timeout

This commit is contained in:
luca
2025-10-16 10:42:45 -05:00
parent 0139f6780c
commit 9238c58460
4 changed files with 57 additions and 14 deletions
+1 -1
View File
@@ -247,7 +247,7 @@ pub struct ShellToolCallParams {
pub command: Vec<String>,
pub workdir: Option<String>,
/// This is the maximum time in milliseconds that the command is allowed to run.
/// Maximum time in milliseconds that the command is allowed to run (defaults to 1_000 ms when omitted).
#[serde(alias = "timeout")]
pub timeout_ms: Option<u64>,
#[serde(skip_serializing_if = "Option::is_none")]