feat(news): add Seltz-powered web news search#170
Open
amallia wants to merge 2 commits intoTraderAlice:masterfrom
Open
feat(news): add Seltz-powered web news search#170amallia wants to merge 2 commits intoTraderAlice:masterfrom
amallia wants to merge 2 commits intoTraderAlice:masterfrom
Conversation
Adds a `searchNews` AI tool that queries the live web for news articles via the Seltz API (scope: "news"), complementing the existing RSS-based archive tools. Gated on SELTZ_API_KEY env var — tool is only registered when the key is present.
The v2 SDK replaces positional arguments with a single SearchParams object. Updated the searchNews tool call site accordingly.
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.
Summary
searchNewsAI tool powered by the Seltz API (scope: "news") for on-demand semantic web news searchSELTZ_API_KEYenv var — tool only registers when the key is presentDetails
src/domain/news/query/search.ts— tool definition using Seltz v2 named-parameter APIsrc/domain/news/index.tsandsrc/tool/news.tssrc/main.tsas'news-search'tool groupFull commit log
014f761 feat(news): add Seltz-powered web news search tool
7c0fd92 chore(deps): update seltz to v2, migrate to named-parameter API
Test plan