Skip to content

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

fix(web_chat): use correct agent id from current fingerprint

Steven Enamakel1a63d8d917a9
diff --git a/crates/openhuman-core/src/web_chat/run_task.rs b/crates/openhuman-core/src/web_chat/run_task.rs
index 133d765263..d3ea348476 100644
--- a/crates/openhuman-core/src/web_chat/run_task.rs
+++ b/crates/openhuman-core/src/web_chat/run_task.rs
@@ -128,7 +128,7 @@ pub(crate) async fn run_chat_task(
// Stamp the resolved agent onto the bridge metadata so the trace exporter
// can attribute the run (`agent.id` attr / `agent.turn:<id>` trace name).
let mut bridge_metadata = metadata.clone();
- bridge_metadata.agent_id = Some(target_agent_id.clone());
+ bridge_metadata.agent_id = Some(current_fp.target_agent_id.clone());
spawn_progress_bridge(
progress_rx,
client_id.to_string(),