Skip to content

fix: Make action optional in response.output_item.added#550

Merged
64bit merged 3 commits into
64bit:mainfrom
rijkvanzanten:rijk/fix-web-search-action-optional
May 20, 2026
Merged

fix: Make action optional in response.output_item.added#550
64bit merged 3 commits into
64bit:mainfrom
rijkvanzanten:rijk/fix-web-search-action-optional

Conversation

@rijkvanzanten
Copy link
Copy Markdown
Contributor

This makes the action field of the WebSearchToolCall optional to workaround an OpenAI bug.

Fixes #548

@rijkvanzanten
Copy link
Copy Markdown
Contributor Author

@64bit Here ya go! Happy to make alterations if need be. Thanks for the quick response on #548 :) Glad to be able to drop my hacky userland workaround once this is live~

Copy link
Copy Markdown
Owner

@64bit 64bit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@64bit 64bit merged commit c9c99e3 into 64bit:main May 20, 2026
99 checks passed
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.

Responses stream fails to deserialize in-progress web_search_call without action

2 participants