Skip to content

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

docs(observability): update web_chat turn references to run_chat_task

Steven Enamakela1566121e691
diff --git a/crates/openhuman-core/src/core/observability.rs b/crates/openhuman-core/src/core/observability.rs
index 091da0b556..f3c80287ec 100644
--- a/crates/openhuman-core/src/core/observability.rs
+++ b/crates/openhuman-core/src/core/observability.rs
@@ -269,7 +269,7 @@ pub enum ExpectedErrorKind {
/// (`api_error`) already demotes its own per-attempt event; this catches
/// the **re-report** when the same flattened error is raised again under
/// `domain=web_channel` / `agent` (the path
- /// `web_chat turn run (`turn_host`)` →
+ /// `web_chat::run_chat_task` →
/// `report_error_or_expected`). The FE surfaces actionable copy via
/// `classify_inference_error`; Sentry must not double-report (F2/F4).
///
@@ -906,7 +906,7 @@ fn is_embedding_model_rejected(lower: &str) -> bool {
/// - `"OpenHuman API error (401 Unauthorized): {…\"Session expired. Please
/// log in again.\"…}"` — emitted by `providers::ops::api_error` from the
/// OpenHuman backend and re-raised through `agent::run_single` /
-/// `web_chat turn run (`turn_host`)` (OPENHUMAN-TAURI-26). The
+/// `web_chat::run_chat_task` (OPENHUMAN-TAURI-26). The
/// `"session expired"` substring anchors the match to the OpenHuman
/// backend's session-renewal body, not the bare numeric status.
/// - `"OpenHuman API error (401 Unauthorized): {…\"error\":\"Invalid token\"…}"`
@@ -1832,7 +1832,7 @@ fn is_filesystem_user_path_invalid_message(lower: &str) -> bool {
/// `text_chars=0 thinking_chars=0 tool_calls=0`.
///
/// This catches the **web-channel re-report** (Sentry TAURI-RUST-4Z1):
-/// `web_chat turn run (`turn_host`)` wraps the failure as
+/// `web_chat::run_chat_task` wraps the failure as
/// `"run_chat_task failed client_id=… error=The model returned an empty
/// response. Please try again."` and routes it through
/// `report_error_or_expected` after the typed
@@ -2675,7 +2675,7 @@ fn all_provider_attempts_are_transient(message: &str) -> bool {
/// Defense-in-depth filter for the Sentry `before_send` hook: the primary
/// suppression lives at the call sites in `agent::session_host::
/// runtime::run_single`, `channels::runtime::dispatch`, and
-/// `web_chat turn run (`turn_host`)`, all of which now skip
+/// `web_chat::run_chat_task`, all of which now skip
/// `report_error` when this variant is detected. This filter catches any
/// future call site that re-emits the message without going through those
/// funnels — e.g. a new wrapper that calls `tracing::error!` directly with
diff --git a/crates/openhuman-core/src/profiles/README.md b/crates/openhuman-core/src/profiles/README.md
index 4a1b4fb786..622619480f 100644
--- a/crates/openhuman-core/src/profiles/README.md
+++ b/crates/openhuman-core/src/profiles/README.md
@@ -491,7 +491,7 @@ minutes and another node may then run the interrupted occurrence again.
## One turn at a time per profile
-Chat turns (`web_chat turn run (`turn_host`)`), relayed-message turns
+Chat turns (`web_chat::run_chat_task`), relayed-message turns
(`run_relay_turn`) and the cron sweep's runs of one profile take that
profile's gate ([`turn_gate`](turn_gate.rs)) for the whole turn, so they
queue instead of overlapping. A due cron occurrence waits behind an in-flight
diff --git a/tests/composio_list_tools_stack_overflow_regression.rs b/tests/composio_list_tools_stack_overflow_regression.rs
index 7a1332f174..6498f9bed0 100644
--- a/tests/composio_list_tools_stack_overflow_regression.rs
+++ b/tests/composio_list_tools_stack_overflow_regression.rs
@@ -25,7 +25,7 @@
//! ← subagent_runner::run_inner_loop / run_typed_mode / run_subagent
//! ← SkillDelegationTool::execute (delegate_to_integrations_agent, since removed)
//! ← Agent::execute_tool_call / execute_tools / turn
-//! ← web_chat turn run (`turn_host`)
+//! ← web_chat::run_chat_task
//! ```
//!
//! The crash trigger is `composio_list_tools` reloading the config from