Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

refactor(runtime): use configured backstop and idle window

Steven Enamakel4e0981b2a209
diff --git a/crates/openhuman-core/src/channels/runtime/dispatch/native_runner.rs b/crates/openhuman-core/src/channels/runtime/dispatch/native_runner.rs
index 152b054c02..1179a953f2 100644
--- a/crates/openhuman-core/src/channels/runtime/dispatch/native_runner.rs
+++ b/crates/openhuman-core/src/channels/runtime/dispatch/native_runner.rs
@@ -595,7 +595,7 @@ pub(crate) async fn run(
},
host_authored: false,
disposition: QueueDisposition::Interrupt,
- deadline: Some(deadline),
+ deadline: crate::agent::session_host::turn_backstop::configured_backstop(),
idle_timeout: Some(crate::agent::turn_policy::configured_idle_window()),
};
let runner_result = runtime.runner.run(request).await;