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: update tests for renamed config and todo store api
Steven Enamakel407d4c727b47
diff --git a/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rs b/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rsindex 465873d5bf..f339ba9231 100644--- a/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rs+++ b/crates/openhuman-core/src/agent/tinyagents/middleware_tests.rs@@ -10,7 +10,7 @@ use crate::agent::tinyagents::middleware::tool_output::ToolOutputMiddleware;use serde_json::json;use std::collections::HashMap;use std::sync::Arc;-use tinyagents_harness::config::ToolRuntimeConfig;+use tinyagents_harness::config::TurnConfig;use async_trait::async_trait;@@ -264,7 +264,7 @@ fn oversized_workflow_proposal_json(node_count: usize) -> String {/// of being persisted — deterministic to assert on).fn truncation_probe_mw() -> ToolOutputMiddleware {ToolOutputMiddleware {- budget_bytes: ToolRuntimeConfig::default().tool_result_budget_bytes,+ budget_bytes: TurnConfig::default().tool_result_budget_bytes,payload_summarizer: None,artifact_store: None,tokenjuice_compaction_enabled: false,diff --git a/crates/openhuman-core/src/threads/ops/live_state_tests.rs b/crates/openhuman-core/src/threads/ops/live_state_tests.rsindex 8cd3077579..bc0728fa30 100644--- a/crates/openhuman-core/src/threads/ops/live_state_tests.rs+++ b/crates/openhuman-core/src/threads/ops/live_state_tests.rs@@ -101,12 +101,10 @@ async fn todos_get_reads_back_what_the_todo_tool_wrote() {let empty_json = empty.into_cli_compatible_json().unwrap();assert!(empty_json["data"]["todos"].as_array().unwrap().is_empty());- let scope = crate::agent::todos::ops::TodoScope::Session {- id: "thread-todos-live".to_string(),- };- crate::agent::todos::ops::replace(- &dir,- &scope,+ let store = crate::agent::session_store::stores_or_ephemeral(&dir).kv;+ tinyagents_graph::todos::store::replace(+ &store,+ "thread-todos-live",vec![TodoItem::with_status("write tests", TodoStatus::InProgress)],).await