Set a per-tool execution timeout. When set, each tool execution is wrapped in `tokio::time::timeout`. A timeout produces an error message that is fed back to the LLM (the session continues).
(mut self, timeout_ms: u64)
| 393 | /// A timeout produces an error message that is fed back to the LLM |
| 394 | /// (the session continues). |
| 395 | pub fn with_tool_timeout(mut self, timeout_ms: u64) -> Self { |
| 396 | self.tool_timeout_ms = Some(timeout_ms); |
| 397 | self |
| 398 | } |
| 399 | |
| 400 | /// Set the circuit-breaker threshold. |
| 401 | /// |
no outgoing calls