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
chore(layout): condense Exa tool schemas to keep line count under 750
Sagar Kewat1268fab4692e
diff --git a/src/openhuman/search/tools/exa.rs b/src/openhuman/search/tools/exa.rsindex 81a2c797a4..1d63286da4 100644--- a/src/openhuman/search/tools/exa.rs+++ b/src/openhuman/search/tools/exa.rs@@ -461,16 +461,8 @@ impl Tool for ExaSearchTool {"type": "string","description": "Restrict to an Exa category, e.g. 'company', 'research paper', 'news', 'financial report', 'personal site'."},- "include_domains": {- "type": "array",- "items": { "type": "string" },- "description": "Only return results from these domains."- },- "exclude_domains": {- "type": "array",- "items": { "type": "string" },- "description": "Exclude results from these domains."- },+ "include_domains": { "type": "array", "items": { "type": "string" }, "description": "Only return results from these domains." },+ "exclude_domains": { "type": "array", "items": { "type": "string" }, "description": "Exclude results from these domains." },"start_published_date": {"type": "string","description": "Only results published on or after this ISO-8601 date."@@ -565,16 +557,8 @@ impl Tool for ExaFindSimilarTool {"type": "boolean","description": "Exclude other pages from the source URL's own domain."},- "include_domains": {- "type": "array",- "items": { "type": "string" },- "description": "Only return results from these domains."- },- "exclude_domains": {- "type": "array",- "items": { "type": "string" },- "description": "Exclude results from these domains."- },+ "include_domains": { "type": "array", "items": { "type": "string" }, "description": "Only return results from these domains." },+ "exclude_domains": { "type": "array", "items": { "type": "string" }, "description": "Exclude results from these domains." },"include_text": {"type": "boolean","description": "Also crawl and return the page text for each result (slower)."@@ -685,19 +669,9 @@ impl Tool for ExaGetContentsTool {json!({"type": "object","properties": {- "urls": {- "type": "array",- "items": { "type": "string" },- "description": "The page URLs to retrieve contents for."- },- "include_summary": {- "type": "boolean",- "description": "Also return an Exa-generated summary of each page."- },- "include_highlights": {- "type": "boolean",- "description": "Also return relevant highlight snippets for each page."- }+ "urls": { "type": "array", "items": { "type": "string" }, "description": "The page URLs to retrieve contents for." },+ "include_summary": { "type": "boolean", "description": "Also return an Exa-generated summary of each page." },+ "include_highlights": { "type": "boolean", "description": "Also return relevant highlight snippets for each page." }},"required": ["urls"]})@@ -730,18 +704,10 @@ impl Tool for ExaGetContentsTool {"urls": urls,"text": true,});- if args- .get("include_summary")- .and_then(Value::as_bool)- .unwrap_or(false)- {+ if args.get("include_summary").and_then(Value::as_bool).unwrap_or(false) {body["summary"] = json!(true);}- if args- .get("include_highlights")- .and_then(Value::as_bool)- .unwrap_or(false)- {+ if args.get("include_highlights").and_then(Value::as_bool).unwrap_or(false) {body["highlights"] = json!(true);}