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
fix: correct formatting and logic in MCP server config functions
Steven Enamakela711cc8328d0
diff --git a/crates/openhuman-core/src/mcp/host_tests.rs b/crates/openhuman-core/src/mcp/host_tests.rsindex 4ba503a915..8a0213881b 100644--- a/crates/openhuman-core/src/mcp/host_tests.rs+++ b/crates/openhuman-core/src/mcp/host_tests.rs@@ -17,7 +17,9 @@ fn config_without_docs() -> Config {}/// A declared server with every field set to something distinguishable.-fn populated_server() -> HostServer { server: tinymcp_bus::McpServerConfig { HostServer {+fn populated_server() -> HostServer {+ HostServer {+ server: tinymcp_bus::McpServerConfig {name: "weather".into(),endpoint: "https://example.test/mcp".into(),command: "npx".into(),diff --git a/crates/openhuman-embed/src/harness/mcp.rs b/crates/openhuman-embed/src/harness/mcp.rsindex 012d5f2049..78d7238c60 100644--- a/crates/openhuman-embed/src/harness/mcp.rs+++ b/crates/openhuman-embed/src/harness/mcp.rs@@ -185,7 +185,9 @@ impl McpServer {}/// The underlying config entry.- pub(crate) fn into_config(self) -> McpServerConfig { server: tinymcp_bus::McpServerConfig { self.0, ..Default::default() }, ..Default::default() }+ pub(crate) fn into_config(self) -> McpServerConfig {+ self.0+ }}#[cfg(test)]