Skip to content

fix: prevent crash when importing in cloudflare workers #306

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

threepointone
Copy link
Contributor

Looks like an export was missed in #290 for the workerd shim, this prevents the crash when importing there. Loing term we should just add an implementation for cloudflare workers (and I suspect the node implementation might just work)

Copy link

changeset-bot bot commented Aug 7, 2025

🦋 Changeset detected

Latest commit: 62c3719

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@openai/agents-core Patch
@openai/agents-openai Patch
@openai/agents-realtime Patch
@openai/agents Patch
@openai/agents-extensions Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Looks like an export was missed in openai#290 for the workerd shim, this prevents the crash when importing there. Loing term we should just add an implementation for cloudflare workers (and I suspect the node implementation might just work)
@threepointone threepointone force-pushed the fix-workers-mcp-sse-import branch from 0d94c4d to 62c3719 Compare August 7, 2025 15:19
@dkundel-openai dkundel-openai merged commit 0858c98 into openai:main Aug 7, 2025
5 checks passed
@threepointone threepointone deleted the fix-workers-mcp-sse-import branch August 7, 2025 17:30
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.

2 participants