Repository navigation
Conversation
This branch has not been deployed
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.
🔴 Review tier: HIGH — human review required
fix/news-search-defaultsare deployed; do not merge before that deployWhat
Brings the cookbook in line with how news search behaves after the news-search-defaults change, and renames every recipe so people and AI agents can tell from the title which one fits their task.
Aligned with news search
strategy="news knowledge"or only anend_timestampcost 5 credits too.historicalis described as deprecated with no effect, and the examples leave it out.n_articles: Pay as you go, Pro and Spelunker accept up to 10, the default, and get a 400 above it. Analyst and Enterprise are reduced to 30. The examples use 10.scopesnext to an API key.Recipe names and framing
01_search_live_news,09_monitor_a_company,12_run_deep_research,14_prompt_deep_research).cookbook/build.pycopies that line intomarkdown/index.mdnext to each title.cookbook/README.mdlists every recipe with its Use this when line, the calls it makes and what it covers. It also describes how to name a new recipe.Verification
python cookbook/build.pyregeneratescookbook/markdown/; the committed markdown matches.pytest: 184 passed.packages = ["asknews_sdk"]), anddocs:commits do not trigger a version bump.Links
mainor the frontenddevbranch links to the old recipe filenames. The rewritten docs site (frontenddocs/api-docs-rewrite) links to the new names, so it should ship after this PR.🤖 Generated with Claude Code