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/tools/schemas/web_search.rs

Steven Enamakelee226b9ebd32
diff --git a/crates/openhuman-core/src/tools/schemas/web_search.rs b/crates/openhuman-core/src/tools/schemas/web_search.rs
index d679109e0f..016d3f2645 100644
--- a/crates/openhuman-core/src/tools/schemas/web_search.rs
+++ b/crates/openhuman-core/src/tools/schemas/web_search.rs
@@ -304,7 +304,7 @@ pub(super) fn handle_searxng_search(params: Map<String, Value>) -> ControllerFut
})
}
-fn optional_string_array(params: &Map<String, Value>, key: &str) -> Result<Vec<String>, String> {
+pub(super) fn optional_string_array(params: &Map<String, Value>, key: &str) -> Result<Vec<String>, String> {
let Some(value) = params.get(key) else {
return Ok(Vec::new());
};