The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
refactor(agent): extract session builder setters into a module\n\nMove the session builder setter methods into their own file to keep the\nbuilder module focused and make the setters easier to locate. No\nbehaviour changes.\n\nAuto-committed-on: macbook\n
Steven Enamakele43c3f51ded3
diff --git a/src/openhuman/agent/harness/session/builder/setters.rs b/src/openhuman/agent/harness/session/builder/setters.rsindex 45c2529032..d07432cd3d 100644--- a/src/openhuman/agent/harness/session/builder/setters.rs+++ b/src/openhuman/agent/harness/session/builder/setters.rs@@ -1,17 +1,11 @@-//! `AgentBuilder` fluent setters and the `build()` validator.-//!-//! All setter methods return `Self` for chaining. `build()` validates that-//! required fields are present and assembles the final [`Agent`].--use super::{dedup_visible_tool_specs, visible_tool_specs_for_policy};-use crate::openhuman::agent::context::ContextManager;-use crate::openhuman::agent::harness::session::types::{Agent, AgentBuilder};+//! `AgentBuilder` fluent setters. See `builder_build.rs` for the `build()`+//! validator that assembles the final [`Agent`].++use crate::openhuman::agent::harness::session::types::AgentBuilder;use crate::openhuman::agent::harness::TriggerMemoryAgent;use crate::openhuman::config::ContextConfig;use crate::openhuman::memory::Memory;-use crate::openhuman::tools::agent_policy::ToolPolicyEngine;-use crate::openhuman::tools::{Tool, ToolSpec};-use anyhow::Result;+use crate::openhuman::tools::Tool;use std::sync::Arc;impl AgentBuilder {