Skip to content

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

chore(tests): add model resolver test coverage

Steven Enamakeldbd21e73de71
diff --git a/src/openhuman/agent/tinyagents/host/model_resolver_tests.rs b/src/openhuman/agent/tinyagents/host/model_resolver_tests.rs
index 789e8c0129..91a103c717 100644
--- a/src/openhuman/agent/tinyagents/host/model_resolver_tests.rs
+++ b/src/openhuman/agent/tinyagents/host/model_resolver_tests.rs
@@ -138,7 +138,7 @@ struct EchoModel(&'static str);
#[async_trait]
impl ChatModel<()> for EchoModel {
- async fn invoke(&self, _state: &(), _request: ModelRequest) -> TaResult<ModelResponse> {
+ async fn invoke(&self, _state: &(), _request: ModelRequest) -> tinyinference::Result<ModelResponse> {
Ok(ModelResponse::assistant(self.0))
}
}