feat: add support for searx/searxng (#253)

* add searx/searxng support

* nit

* Fix indentation in search.py for readability

* Clean up imports in search.py

Removed unused imports from search.py

---------

Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
This commit is contained in:
Gordon
2025-09-22 18:54:30 +08:00
committed by GitHub
parent 6bb0b95579
commit 1c27e0f2ae
10 changed files with 41 additions and 1 deletions

View File

@@ -169,6 +169,10 @@ DeerFlow supports multiple search engines that can be configured in your `.env`
- No API key required
- Specialized for scientific and academic papers
- **Searx/SearxNG**: Self-hosted metasearch engine
- Requires `SEARX_HOST` to be set in the `.env` file
- Supports connecting to either Searx or SearxNG
To configure your preferred search engine, set the `SEARCH_API` variable in your `.env` file:
```bash