The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(web_chat): remove per-model-call ceiling from turn timeout detection
Steven Enamakel976d76dc3700
diff --git a/crates/openhuman-core/src/web_chat/web_errors/timeout.rs b/crates/openhuman-core/src/web_chat/web_errors/timeout.rsindex 7491c991f9..52e3e9d13e 100644--- a/crates/openhuman-core/src/web_chat/web_errors/timeout.rs+++ b/crates/openhuman-core/src/web_chat/web_errors/timeout.rs@@ -28,20 +28,11 @@ pub(crate) fn turn_timeout_error_message(secs: u64) -> String {/// wall-clock deadline`, so both wall-clock phrasings are anchored here. This/// routes the loop's graceful budget-exhaustion terminal event to the dedicated/// `turn_timeout` copy instead of the generic catch-all.-///-/// The per-model-call ceiling (`RunLimits::max_model_call_ms`) is anchored by-/// its own phrase. The harness raises it as `TinyAgentsError::CallTimeout`-/// (retryable), which renders `call timed out: model call for run `..`-/// exceeded its per-model-call ceiling (.. ms)` — it no longer carries the-/// `run timed out:` prefix the run-budget `Timeout` has, so without this anchor-/// a wedged call that exhausts its retries falls through to the generic-/// `inference` bucket instead of `turn_timeout` (#6375).pub(crate) fn is_turn_timeout_error(err: &str) -> bool {err.contains(TURN_TIMEOUT_MARKER)|| err.contains("run timed out:")|| err.contains("exceeded its remaining wall-clock budget")|| err.contains("exceeded its wall-clock deadline")- || err.contains("exceeded its per-model-call ceiling")}/// True when `err` is the **outer** web-turn backstop firing —diff --git a/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rsindex bbe17e9132..03417b785d 100644--- a/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs+++ b/crates/openhuman-core/src/web_chat/web_tests_start_chat_ingress_tests.rs@@ -541,9 +541,6 @@ fn classify_inference_error_harness_wall_clock_timeout_is_turn_timeout() {"run timed out: model call for run `abc123` exceeded its remaining wall-clock budget (600000 ms)","run timed out: tool call for run `abc123` exceeded its remaining wall-clock budget (12345 ms)","run `abc123` exceeded its wall-clock deadline",- // A wedged call bounded by the per-model-call ceiling is a retryable- // `CallTimeout`, rendered with the `call timed out:` prefix (#6375).- "call timed out: model call for run `abc123` exceeded its per-model-call ceiling (2000 ms)",] {let ClassifiedError {error_type: category,diff --git a/vendor/tinyagents b/vendor/tinyagentsindex b88a2728b3..4583fd645c 160000--- a/vendor/tinyagents+++ b/vendor/tinyagents@@ -1 +1 @@-Subproject commit b88a2728b34af96cf79883d5920f82d6068d96b7+Subproject commit 4583fd645c2426a9484df429493c9d16dd8bc4fa