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
refactor(inference): remove unused truncate helper
Steven Enamakel7a3e9ccfbc67
diff --git a/crates/openhuman-tinyhumans/src/inference/managed_catalog.rs b/crates/openhuman-tinyhumans/src/inference/managed_catalog.rsindex 0601419b5f..40caff725d 100644--- a/crates/openhuman-tinyhumans/src/inference/managed_catalog.rs+++ b/crates/openhuman-tinyhumans/src/inference/managed_catalog.rs@@ -179,14 +179,6 @@ pub(super) fn managed_401_means_signed_out(status: u16, session_attached: bool)status == 401 && session_attached}-fn truncate(text: &str, max_chars: usize) -> String {- if text.chars().count() <= max_chars {- return text.to_string();- }- let cut: String = text.chars().take(max_chars).collect();- format!("{cut}...")-}-/// What authenticates a listing request: the live session token, or the/// entry's provider-scoped key when there is no live session.#[derive(Debug, PartialEq, Eq)]