Skip to content

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

chore: files changed src/openhuman/agent/registry/agents/orchestrator/prompt.rs,src/openhuman/tools/

Steven Enamakelf35d69aa2ce3
diff --git a/src/openhuman/agent/registry/agents/orchestrator/prompt.rs b/src/openhuman/agent/registry/agents/orchestrator/prompt.rs
index dcd1eb43d7..a17f4a88c4 100644
--- a/src/openhuman/agent/registry/agents/orchestrator/prompt.rs
+++ b/src/openhuman/agent/registry/agents/orchestrator/prompt.rs
@@ -133,7 +133,9 @@ fn render_withheld_specialists(ctx: &PromptContext<'_>) -> String {
return String::new();
}
let Some(registry) = AgentDefinitionRegistry::global() else {
- tracing::debug!("[orchestrator-prompt] no agent registry; withheld-specialist section omitted");
+ tracing::debug!(
+ "[orchestrator-prompt] no agent registry; withheld-specialist section omitted"
+ );
return String::new();
};
let Some(definition) = registry.get(ctx.agent_id) else {
diff --git a/src/openhuman/tools/toolpacks/toolpacks_tests.rs b/src/openhuman/tools/toolpacks/toolpacks_tests.rs
index f8e22ff895..7ef9b235ac 100644
--- a/src/openhuman/tools/toolpacks/toolpacks_tests.rs
+++ b/src/openhuman/tools/toolpacks/toolpacks_tests.rs
@@ -120,10 +120,7 @@ async fn a_packed_delegate_in_the_synthesised_set_is_reachable() {
// Disclosure half: the schema must render even though the tool is in the
// other registry.
- let rendered = use_skill
- .execute(json!({"skill": "crypto"}))
- .await
- .unwrap();
+ let rendered = use_skill.execute(json!({"skill": "crypto"})).await.unwrap();
assert!(!rendered.is_error, "{}", rendered.text());
assert!(
format!("{:?}", rendered.content).contains("do_crypto"),
@@ -135,7 +132,11 @@ async fn a_packed_delegate_in_the_synthesised_set_is_reachable() {
.execute(json!({"skill": "crypto", "tool": "do_crypto", "args": {"marker": "x"}}))
.await
.unwrap();
- assert!(!ran.is_error, "packed delegate was not dispatchable: {}", ran.text());
+ assert!(
+ !ran.is_error,
+ "packed delegate was not dispatchable: {}",
+ ran.text()
+ );
assert!(format!("{:?}", ran.content).contains("marker"));
}
@@ -165,7 +166,11 @@ async fn rebinding_the_synthesised_set_repoints_the_handle() {
.execute(json!({"skill": "crypto", "tool": "wallet_status", "args": {}}))
.await
.unwrap();
- assert!(!ran.is_error, "handle did not follow the rebind: {}", ran.text());
+ assert!(
+ !ran.is_error,
+ "handle did not follow the rebind: {}",
+ ran.text()
+ );
// And the retired instance is gone with its allocation.
let stale = use_skill
.execute(json!({"skill": "crypto", "tool": "do_crypto", "args": {}}))