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
chore: files changed src/openhuman/inference/provider/claude_agent_sdk/subprocess.rs,src/openhuman/i
Steven Enamakelc53610d2cf7e
diff --git a/src/openhuman/inference/provider/claude_agent_sdk/subprocess.rs b/src/openhuman/inference/provider/claude_agent_sdk/subprocess.rsindex d32e62255b..8315a586dc 100644--- a/src/openhuman/inference/provider/claude_agent_sdk/subprocess.rs+++ b/src/openhuman/inference/provider/claude_agent_sdk/subprocess.rs@@ -254,6 +254,15 @@ impl ChatModel<()> for ClaudeAgentSdkProvider {Some(&self.profile)}+ /// Identity for harness response-cache scoping: the SDK binary and its+ /// default model. No credential is involved on this path.+ fn cache_identity(&self) -> Option<String> {+ Some(format!(+ "claude_agent_sdk:{}:{}",+ self.config.binary, self.config.default_model+ ))+ }+async fn invoke(&self,_state: &(),diff --git a/src/openhuman/inference/provider/crate_anthropic_tests.rs b/src/openhuman/inference/provider/crate_anthropic_tests.rsindex 1f0b71196d..e4d7cd99fb 100644--- a/src/openhuman/inference/provider/crate_anthropic_tests.rs+++ b/src/openhuman/inference/provider/crate_anthropic_tests.rs@@ -15,7 +15,9 @@ fn builds_a_native_anthropic_model_with_the_configured_profile() {assert!(profile.streaming, "the native adapter streams SSE");// The identity the response cache scopes on names the endpoint + model and// never the credential.- let identity = model.cache_identity().expect("anthropic models identify themselves");+ let identity = model+ .cache_identity()+ .expect("anthropic models identify themselves");assert!(identity.contains("api.anthropic.com"));assert!(!identity.contains("sk-ant-secret"));}diff --git a/src/openhuman/inference/provider/crate_openai_tests.rs b/src/openhuman/inference/provider/crate_openai_tests.rsindex b2f7e70168..ccfad10044 100644--- a/src/openhuman/inference/provider/crate_openai_tests.rs+++ b/src/openhuman/inference/provider/crate_openai_tests.rs@@ -116,5 +116,7 @@ fn openrouter_endpoints_are_recognised_for_explicit_cache_control() {assert!(endpoint_is_openrouter("HTTPS://OpenRouter.ai/api/v1/"));assert!(!endpoint_is_openrouter("https://api.openai.com/v1"));assert!(!endpoint_is_openrouter("https://notopenrouter.ai/api/v1"));- assert!(!endpoint_is_openrouter("https://example.com/openrouter.ai/"));+ assert!(!endpoint_is_openrouter(+ "https://example.com/openrouter.ai/"+ ));}diff --git a/src/openhuman/inference/provider/factory_tests_part_02_tests.rs b/src/openhuman/inference/provider/factory_tests_part_02_tests.rsindex a8416fd461..9bb17f83c0 100644--- a/src/openhuman/inference/provider/factory_tests_part_02_tests.rs+++ b/src/openhuman/inference/provider/factory_tests_part_02_tests.rs@@ -337,7 +337,9 @@ fn create_chat_model_routes_anthropic_auth_cloud_slug_to_crate_native() {identity.starts_with("anthropic:https://api.anthropic.com/v1:claude-sonnet-4-6"),"expected the native Messages adapter, got identity {identity}");- assert!(model.profile().is_some_and(|p| p.tool_calling && p.streaming));+ assert!(model+ .profile()+ .is_some_and(|p| p.tool_calling && p.streaming));}/// Text mode (prompt-guided tools) is only implemented on the Chat Completions