feat(tools): add support for self-hosted firecrawl

Adds optional FIRECRAWL_API_URL environment variable to support
self-hosted Firecrawl deployments alongside the cloud service.

- Add FIRECRAWL_API_URL to optional env vars in hermes_cli/config.py
- Update _get_firecrawl_client() in tools/web_tools.py to accept custom API URL
- Add tests for client initialization with/without URL
- Document new env var in installation and config guides
This commit is contained in:
caentzminger
2026-03-05 16:16:18 -06:00
parent 21d61bdd71
commit d7d10b14cd
7 changed files with 68 additions and 2 deletions

View File

@@ -164,6 +164,7 @@ OPENROUTER_API_KEY=sk-or-v1-your-key-here
# Optional — enable additional tools:
FIRECRAWL_API_KEY=fc-your-key # Web search & scraping
FIRECRAWL_API_URL=http://localhost:3002 # Self-hosted Firecrawl (optional)
FAL_KEY=your-fal-key # Image generation (FLUX)
```