Skip to content

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

chore: files changed crates/openhuman-core/src/agent/tinyagents/observability/bridge_types.rs,docs/g

Steven Enamakel70413e7bcbf3
diff --git a/crates/openhuman-core/src/agent/tinyagents/observability/bridge_types.rs b/crates/openhuman-core/src/agent/tinyagents/observability/bridge_types.rs
index 4f29b412e4..fe0f3c6c4a 100644
--- a/crates/openhuman-core/src/agent/tinyagents/observability/bridge_types.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/observability/bridge_types.rs
@@ -18,14 +18,11 @@ pub struct SubagentScope {
pub extended_policy: bool,
}
-/// A shared `call_id → tool_name` map. The model adapter's `ThinkingForwarder`
-/// writes it when a tool call *starts* (the crate `ToolDelta` has no `tool_name`
-/// field, so the start-event/name half of the tool-arg contract can't ride the
-/// crate stream and stays on the out-of-band forwarder path — see
-/// [`crate::inference::provider::model::ThinkingForwarder`]). The bridge reads it to label the
-/// incremental tool-argument fragments it now projects off the crate stream
-/// (`MessageDelta.tool_call`), preserving the UI's `ToolCallArgsDelta`
-/// `tool_name` contract without the forwarder emitting those fragments itself.
+/// A shared `call_id → tool_name` map. The adapter writes it when a tool call
+/// *starts* because the crate's `ToolDelta` has no `tool_name` field. The
+/// bridge reads it to label incremental tool-argument fragments projected from
+/// the crate stream (`MessageDelta.tool_call`), preserving the UI's
+/// `ToolCallArgsDelta` `tool_name` contract.
pub(crate) type ToolNameMap = Arc<Mutex<std::collections::HashMap<String, String>>>;
/// Shared `call_id → (success, classified failure, elapsed_ms, output_chars,
diff --git a/docs/gitbooks/en/developing/architecture/agent-harness.md b/docs/gitbooks/en/developing/architecture/agent-harness.md
index cae28f9f2a..302e8a12b9 100644
--- a/docs/gitbooks/en/developing/architecture/agent-harness.md
+++ b/docs/gitbooks/en/developing/architecture/agent-harness.md
@@ -645,7 +645,7 @@ direct `tinyagents-orchestration::subagent` lifecycle. There is no
| File (`crates/openhuman-core/src/agent/tinyagents/`) | Role |
| ------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
-| `mod.rs` | The runner (`TurnSpec::run`): installs the native `ChatModel`, host tool adapters, and middleware on an `AgentHarness`; runs one turn; caps output through `MaxTokensModel` (`inference/provider/model.rs`); mirrors progress; forwards steering; and pauses gracefully at the model-call cap. |
+| `mod.rs` | The runner (`TurnSpec::run`): installs the native `ChatModel`, host tool adapters, and middleware on an `AgentHarness`; runs one turn; caps output through the native `MaxTokensModel`; mirrors progress; forwards steering; and pauses gracefully at the model-call cap. |
| `mod.rs` / `model.rs` / `tools.rs` / `convert.rs` | `RunPolicy` / `ChatModel` / `Tool` / message adapters (incl. unknown-tool policy and out-of-band reasoning forwarding). |
| `observability.rs` | Harness `AgentEvent` → `AgentProgress` + cost; `GraphTracingSink` for graph events. |
| `orchestration.rs` | Re-exported `graph::orchestration` task-store types; map-reduce fanout uses the TinyAgents SDK surface directly. |