Skip to content

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

refactor(inference): move agent chat turn guards out of host runtime

Steven Enamakel250a8341f1b4
diff --git a/crates/openhuman-core/src/inference/host_runtime/ops/turn_guards.rs b/crates/openhuman-core/src/agent_runs/agent_chat/guards.rs
similarity index 100%
rename from crates/openhuman-core/src/inference/host_runtime/ops/turn_guards.rs
rename to crates/openhuman-core/src/agent_runs/agent_chat/guards.rs
diff --git a/crates/openhuman-core/src/inference/host_runtime/ops.rs b/crates/openhuman-core/src/inference/host_runtime/ops.rs
index 3b90031282..e3227f2f89 100644
--- a/crates/openhuman-core/src/inference/host_runtime/ops.rs
+++ b/crates/openhuman-core/src/inference/host_runtime/ops.rs
@@ -8,15 +8,12 @@
#[path = "ops_tests.rs"]
mod tests;
-mod agent_chat;
+mod agent_chat_simple;
mod complete_once;
mod runtime_ops;
mod turn_guards;
-pub use agent_chat::{
- agent_chat, agent_chat_for, agent_chat_reply_for, agent_chat_simple, AgentChatEnv,
- AgentChatReply, AgentChatTarget,
-};
+pub use agent_chat_simple::agent_chat_simple;
pub use complete_once::{complete_once, CompletionEndpoint};
pub use runtime_ops::{
local_ai_prompt, local_ai_status, local_ai_summarize, local_ai_transcribe,