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
test(inference): make fake managed model fail on call
Steven Enamakelb61f0cdf78f5
diff --git a/crates/openhuman-core/src/inference/registry_test_support.rs b/crates/openhuman-core/src/inference/registry_test_support.rsindex 97f31413d8..fe4cee14d5 100644--- a/crates/openhuman-core/src/inference/registry_test_support.rs+++ b/crates/openhuman-core/src/inference/registry_test_support.rs@@ -30,7 +30,11 @@ impl ChatModel<()> for FakeManagedModel {_state: &(),_request: ModelRequest,) -> tinyinference_llm::Result<ModelResponse> {- Ok(ModelResponse::assistant("from the fake managed model"))+ // Like the real provider with no stored session: construction works,+ // a call fails.+ Err(tinyinference_llm::Error::Model(+ "No backend session: store a JWT via auth (app-session)".to_string(),+ ))}}