Commit Graph

3 Commits

Author SHA1 Message Date
Michael 031c3461df feat: add support for SearXNG HTTP basic authentication 2026-06-30 22:37:05 +02:00
Michael 5203cf89a0 refactor: remove duckduckgo-search import error checks 2026-06-30 22:34:18 +02:00
michael c0c9278d75 feat: add web_search and fetch_url research tools (#2)
- Add ResearchTools class in gitea/tools/research_tools.py
  - web_search: DuckDuckGo HTML search, no API key required
  - fetch_url: httpx-based URL fetcher with HTML stripping + truncation
- Wire both tools into planning_tools and coding_tools_list in dispatcher.py
- Add 19 unit tests covering all methods, error paths, and edge cases

---------

Co-authored-by: Michael <michael@example.com>
Reviewed-on: #2
2026-06-28 19:01:55 +02:00