Skip to content

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

fix(web_chat): clone the turn config out of its Arc for the late sink

M3gA-Mind6d34e7b264f6
diff --git a/crates/openhuman-core/src/web_chat/turn_host.rs b/crates/openhuman-core/src/web_chat/turn_host.rs
index e3bd13771f..8b490e90d9 100644
--- a/crates/openhuman-core/src/web_chat/turn_host.rs
+++ b/crates/openhuman-core/src/web_chat/turn_host.rs
@@ -267,7 +267,7 @@ impl WebHost {
client_id: payload.client_id.clone(),
thread_id: thread_id.to_owned(),
request_id: id.to_owned(),
- config: config.clone(),
+ config: (*config).clone(),
}),
);
let _beat = AbortOnDrop(spawn_heartbeat(&ctx, projection.clone()));