Conversation
Co-authored-by: ebhills <53243273+ebhills@users.noreply.github.com>
Co-authored-by: ebhills <53243273+ebhills@users.noreply.github.com>
|
@copilot a few things that jump out at me immediately:
These are just my initial findings, with more tests and a working function, I will have another look. |
Co-authored-by: thomasstvr <65630492+thomasstvr@users.noreply.github.com>
Addressed in Recommended disposition: Comment only Next steps
|
|
Superseded by #1188, which implements the revised The updated design comment on #1073 and findings/usage guide explain the trial findings and decision. Closing this earlier JSON-normalization proposal without merging it. #1073 remains open for the replacement PR. |
Linked issue
What changes
Adds
search.ai_mode, combining cited web search and synthesized content into one normalized SerpAPI request while preserving existing search contracts.n_results, preserves query order and blank rows, avoids ambiguous currency inference, and makes raw provider responses opt-in.wrangles.searchas the core module while retainingSerpApiWranglesClient; classic search and retrieval behavior is unchanged.How it was verified
action_required; zero jobs started).Compatibility and risk
No recipe migration is required. Existing
search.find_linksandsearch.retrieve_link_contentcontracts remain unchanged.SERPAPI_API_KEYis required for nonblank requests unlessapi_keyis supplied. Provider schema drift and request cost are the primary risks; normalization tests cover the documented response sections, andno_cacheremains explicit. Safest rollback is reverting the two feature commits.Ready-for-review checklist
mainand has no merge conflictsSee the pull request workflow.