Skip to content

Conversation

@aayush-kapoor
Copy link
Contributor

@aayush-kapoor aayush-kapoor commented Nov 27, 2025

Background

OAI sometimes doesn't render the url param for the open_page action type, leading to validation errors.

Summary

Set the parameter to .nullish()

Manual Verification

  • First, just run the repro code example to observe the error.
  • Then apply the fix and run the same example again

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Related Issues

Fixes #9308 and #10669

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenAI: 'tool-error' chunk is returned even when web search is successful

2 participants