Skip to content

fix: correct web search type definitions#74

Open
ved079 wants to merge 1 commit into
zai-org:mainfrom
ved079:fix/web-search-types
Open

fix: correct web search type definitions#74
ved079 wants to merge 1 commit into
zai-org:mainfrom
ved079:fix/web-search-types

Conversation

@ved079

@ved079 ved079 commented Jul 2, 2026

Copy link
Copy Markdown
  • Rename WebSearchCreatParams -> WebSearchCreateParams (typo fix) with backward-compatible alias
  • Add total=False and 6 missing optional fields to WebSearchCreateParams TypedDict
  • Fix SearchResultResp: make icon, media, refer, publish_date, images optional with = None
  • Fix WebSearchResp: search_result typed as List, search_intent/search_result get = None defaults

Description

Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

Fixes #<issue_number_goes_here>

- Rename WebSearchCreatParams -> WebSearchCreateParams (typo fix) with backward-compatible alias
- Add total=False and 6 missing optional fields to WebSearchCreateParams TypedDict
- Fix SearchResultResp: make icon, media, refer, publish_date, images optional with = None
- Fix WebSearchResp: search_result typed as List, search_intent/search_result get = None defaults

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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