Skip to content

feat: Implement Tavily-backed web search and fetch tools#1

Open
m2self wants to merge 4 commits intoforgives:mainfrom
m2self:main
Open

feat: Implement Tavily-backed web search and fetch tools#1
m2self wants to merge 4 commits intoforgives:mainfrom
m2self:main

Conversation

@m2self
Copy link
Copy Markdown

@m2self m2self commented Jan 21, 2026

add configuration and request handling for web_search and web_fetch tool calls.

…onfiguration and request handling for `web_search` and `web_fetch` tool calls.
Updated GitHub Actions workflow for Go projects to include matrix builds for different OS and architectures, improved caching, and added a release step.
Updated Go version setup to use go.mod and added cache dependency path.
- Introduce `Host` support and environment‑driven host configuration
- Add `fetchLLMModelID` and `fetchLLMPrompt` fields to config with default prompt
- Implement `findConfigPath` to locate configuration via env, executable dir, user config, or fallback
- Refactor `loadConfig` to use `findConfigPath` and incorporate LLM fetch settings
- Add LLM processing pipeline for web fetch results (`tryTavilyExtract`, `directWebFetch`, `processFetchContentWithLLM`)
- Update Tavily fetch logic to fallback to direct fetch and optional LLM cleaning
- Extend serverConfig with LLM fetch fields
- Add new helper functions for Tavily extract, direct fetch, and LLM processing
- Adjust JSON structures and field formatting for consistency
- Update CI workflow to add `-tags netgo` for Linux builds
- Add Go‑specific `.gitignore` file
- Minor import and formatting clean‑ups (e.g., import `path/filepath`)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant