Skip to content

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

refactor(orchestrator): use unified tinytools for sanitization

Steven Enamakeld2d6f147395b
diff --git a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs
index 990aaea484..7145a92dd2 100644
--- a/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs
+++ b/crates/openhuman-core/src/agent_registry/agents/orchestrator/prompt.rs
@@ -438,7 +438,7 @@ fn render_installed_skills(
// chars / instruction fences) and cap so a single installed
// skill can't bloat the prompt or smuggle routing instructions;
// full details stay one `describe_workflow` call away.
- tinytools_std::sanitize::sanitize_for_llm(&skill.description, SKILL_DESCRIPTION_CHARS)
+ tinytools::sanitize::sanitize_for_llm(&skill.description, SKILL_DESCRIPTION_CHARS)
.replace(['\n', '\t'], " ")
.trim()
.to_string()
@@ -525,7 +525,7 @@ fn format_connected_mcp_block(
let capability = if capability_raw.is_empty() {
String::new()
} else {
- tinytools_std::sanitize::sanitize_for_llm(capability_raw, 120)
+ tinytools::sanitize::sanitize_for_llm(capability_raw, 120)
.replace(['\n', '\t'], " ")
.trim()
.to_string()