Skip to content

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

feat(tools): add Apify schema module

Steven Enamakel0c4bde92eca0
diff --git a/crates/openhuman-core/src/tools/schemas.rs b/crates/openhuman-core/src/tools/schemas.rs
index f8a4566a3c..15ae5c9c9e 100644
--- a/crates/openhuman-core/src/tools/schemas.rs
+++ b/crates/openhuman-core/src/tools/schemas.rs
@@ -12,6 +12,7 @@ mod tests;
mod apify;
mod composio;
+mod linkedin;
mod registry;
mod web_search;
diff --git a/crates/openhuman-core/src/tools/schemas/apify.rs b/crates/openhuman-core/src/tools/schemas/apify.rs
index fd028f82e0..e512e6c869 100644
--- a/crates/openhuman-core/src/tools/schemas/apify.rs
+++ b/crates/openhuman-core/src/tools/schemas/apify.rs
@@ -21,14 +21,14 @@ pub(super) fn handle_apify_linkedin_scrape(params: Map<String, Value>) -> Contro
"Apify scrape unavailable — no backend session token. Sign in first.".to_string()
})?;
- let data = crate::agent::learning::linkedin_enrichment::scrape_linkedin_profile(
+ let data = super::linkedin::scrape_linkedin_profile(
&client,
&profile_url,
)
.await
.map_err(|e| format!("Apify LinkedIn scrape failed: {e:#}"))?;
- let markdown = crate::agent::learning::linkedin_enrichment::render_profile_markdown(
+ let markdown = super::linkedin::render_profile_markdown(
&profile_url,
&data,
);