feat(agent): wire Composio tool into LLM tool descriptions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Argenis 2026-02-15 11:17:28 -05:00 committed by GitHub
parent 20f857a55a
commit b8c6937fbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,6 +118,12 @@ pub async fn run(
"Open approved HTTPS URLs in Brave Browser (allowlist-only, no scraping)", "Open approved HTTPS URLs in Brave Browser (allowlist-only, no scraping)",
)); ));
} }
if config.composio.enabled {
tool_descs.push((
"composio",
"Execute actions on 1000+ apps via Composio (Gmail, Notion, GitHub, Slack, etc.). Use action='list' to discover, 'execute' to run, 'connect' to OAuth.",
));
}
let system_prompt = crate::channels::build_system_prompt( let system_prompt = crate::channels::build_system_prompt(
&config.workspace_dir, &config.workspace_dir,
model_name, model_name,