Skip to content

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

style: rustfmt the testkit session-store imports and builder call

M3gA-Mind9c78b1e6ee87
diff --git a/crates/openhuman-embed/tests/support/cron_agents.rs b/crates/openhuman-embed/tests/support/cron_agents.rs
index 6b2f822f4c..9d2f349950 100644
--- a/crates/openhuman-embed/tests/support/cron_agents.rs
+++ b/crates/openhuman-embed/tests/support/cron_agents.rs
@@ -15,9 +15,10 @@ use std::time::Duration;
use common::{chat_completion, chat_requests, offline_config, runtime, stub_backend};
use openhuman_embed::{
- AgentDefinitionSpec, AgentSpec, AgentTurnOrigin, CronError, HostTurnTools, JobSchedule, JobSpec,
- JobTarget, Provider, ReasoningEffort, Runtime, RuntimeError, RuntimeEventKind, RuntimeEvents,
- ServiceSet, SessionStoreProvider, Tool, ToolScopeSpec, TrustedAutomationSource, Workspace,
+ AgentDefinitionSpec, AgentSpec, AgentTurnOrigin, CronError, HostTurnTools, JobSchedule,
+ JobSpec, JobTarget, Provider, ReasoningEffort, Runtime, RuntimeError, RuntimeEventKind,
+ RuntimeEvents, ServiceSet, SessionStoreProvider, Tool, ToolScopeSpec, TrustedAutomationSource,
+ Workspace,
};
use tinyagents_session::port::{AgentStores, InMemorySessionStores};
use tinyagents_session::transcript::{
diff --git a/crates/openhuman-tinyhumans/src/runtime_tests.rs b/crates/openhuman-tinyhumans/src/runtime_tests.rs
index 92507e2de4..8f2e820c76 100644
--- a/crates/openhuman-tinyhumans/src/runtime_tests.rs
+++ b/crates/openhuman-tinyhumans/src/runtime_tests.rs
@@ -148,7 +148,9 @@ fn knobs_and_seams_forward_unchanged() {
.listen("127.0.0.1", 7791)
.action_dir("/srv/work")
.workspace_dir("/srv/state")
- .session_store(Arc::new(tinyagents_session::port::InMemorySessionStores::new()))
+ .session_store(Arc::new(
+ tinyagents_session::port::InMemorySessionStores::new(),
+ ))
.tool_ranker(Arc::new(Ranker)),
);
assert!(summary.fixed_token);