Skip to content

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

feat(agent): add message_input field to AgentTurnRequest

Steven Enamakel1a3112cf0565
diff --git a/crates/openhuman-core/src/agent/host_agents.rs b/crates/openhuman-core/src/agent/host_agents.rs
index aa7369d725..7c3226627b 100644
--- a/crates/openhuman-core/src/agent/host_agents.rs
+++ b/crates/openhuman-core/src/agent/host_agents.rs
@@ -113,6 +113,7 @@ impl HostAgent {
&mut session,
crate::agent::turn_host::AgentTurnRequest {
message: message.to_owned(),
+ message_input: None,
thread_id: Some(session_key.to_owned()),
origin,
approval: approval.clone(),
diff --git a/crates/openhuman-core/src/web_chat/turn_host.rs b/crates/openhuman-core/src/web_chat/turn_host.rs
index 151a79beef..ea3ef28259 100644
--- a/crates/openhuman-core/src/web_chat/turn_host.rs
+++ b/crates/openhuman-core/src/web_chat/turn_host.rs
@@ -283,6 +283,7 @@ impl WebHost {
agent,
crate::agent::turn_host::AgentTurnRequest {
message: request.text.clone(),
+ message_input: None,
thread_id: Some(thread_id.to_owned()),
origin,
approval,