feat: Implement Tavily-backed web search and fetch tools#1
Open
m2self wants to merge 4 commits intoforgives:mainfrom
Open
feat: Implement Tavily-backed web search and fetch tools#1m2self wants to merge 4 commits intoforgives:mainfrom
m2self wants to merge 4 commits intoforgives:mainfrom
Conversation
…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`)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
add configuration and request handling for
web_searchandweb_fetchtool calls.