Skip to content

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

fix(tests): correct agent builder public test to use proper assertion

Steven Enamakel469114bc5c14
diff --git a/tests/agent_builder_public.rs b/tests/agent_builder_public.rs
index 5746b26f41..27a24bcf69 100644
--- a/tests/agent_builder_public.rs
+++ b/tests/agent_builder_public.rs
@@ -7,7 +7,7 @@ use openhuman_core::openhuman::memory::{Memory, MemoryCategory, MemoryEntry};
use openhuman_core::openhuman::tools::{Tool, ToolResult};
use std::collections::HashSet;
use std::sync::Arc;
-use tinyagents::harness::model::{ChatModel, ModelRequest, ModelResponse};
+use tinyinference::model::{ChatModel, ModelRequest, ModelResponse};
struct StubModel;
@@ -17,7 +17,7 @@ impl ChatModel<()> for StubModel {
&self,
_state: &(),
_request: ModelRequest,
- ) -> tinyagents::Result<ModelResponse> {
+ ) -> tinyinference::Result<ModelResponse> {
Ok(ModelResponse::assistant("ok"))
}
}