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
fix(web_search): remove unused variable in quota error function
Steven Enamakel5deb4e8a18ac
diff --git a/src/openhuman/search/tools/web_search.rs b/src/openhuman/search/tools/web_search.rsindex f87439be10..c765269583 100644--- a/src/openhuman/search/tools/web_search.rs+++ b/src/openhuman/search/tools/web_search.rs@@ -35,8 +35,6 @@ const MANAGED_DEFAULT_PROVIDER: &str = "Exa";/// provider echoes the submitted query back in its error body, and that body/// would otherwise reach the agent transcript.fn managed_search_quota_error(message: &str) -> Option<&'static str> {- let lowered = message.to_ascii_lowercase();-// Only inspect the structured provider envelope before any echoed JSON// body. The body may contain the submitted query, so searching all of it// would let an unrelated query such as "HTTP 429" trigger this mapping.