Skip to content

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

chore: files changed crates/openhuman-core/src/agent/prompts/types.rs,crates/openhuman-core/src/agen

Steven Enamakel263adadb712e
diff --git a/crates/openhuman-core/src/agent/prompts/types.rs b/crates/openhuman-core/src/agent/prompts/types.rs
index b0a854b1e0..a33c268659 100644
--- a/crates/openhuman-core/src/agent/prompts/types.rs
+++ b/crates/openhuman-core/src/agent/prompts/types.rs
@@ -250,7 +250,11 @@ impl<'a> PromptTool<'a> {
/// An entry the catalogue owns rather than borrows: a tool that exists
/// only for this prompt build (the harness's `tool_search` / `tool_call`
/// bridge), with no registration to borrow a name from.
- pub fn owned(name: String, description: String, parameters_schema: String) -> PromptTool<'static> {
+ pub fn owned(
+ name: String,
+ description: String,
+ parameters_schema: String,
+ ) -> PromptTool<'static> {
PromptTool {
name: std::borrow::Cow::Owned(name),
description: std::borrow::Cow::Owned(description),
diff --git a/crates/openhuman-core/src/agent/tinyagents/discovery/mod.rs b/crates/openhuman-core/src/agent/tinyagents/discovery/mod.rs
index a0126104ba..9f4988fc29 100644
--- a/crates/openhuman-core/src/agent/tinyagents/discovery/mod.rs
+++ b/crates/openhuman-core/src/agent/tinyagents/discovery/mod.rs
@@ -142,8 +142,9 @@ pub(crate) fn discovery_policy() -> ToolDiscoveryPolicy {
/// manifest is rendered from; the per-tool manifest itself is deliberately
/// left out of the prompt, because listing every deferred tool there is the
/// cost deferral exists to avoid.
-pub(crate) fn bridge_prompt_tools(deferred: usize) -> Vec<crate::agent::prompts::PromptTool<'static>>
-{
+pub(crate) fn bridge_prompt_tools(
+ deferred: usize,
+) -> Vec<crate::agent::prompts::PromptTool<'static>> {
if deferred == 0 {
return Vec::new();
}