Skip to main content

call_deadline

Function call_deadline 

Source
pub(crate) fn call_deadline(tool: &str, arguments: &Value) -> Duration
Expand description

How long tool may run with arguments before the loop answers for it. The tools that wait on purpose (a shell, the user, a spawned agent) get their own wait, plus a margin; the rest get a few minutes.