-
Notifications
You must be signed in to change notification settings - Fork 873
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
Stop using polyfills for Node.js #951
Comments
The problem is not actually in fastify. We call I think providing a default utility to get a Node.js stream instead would remove the problem. |
👋 Hi Matteo! Hopefully removing the polyfill will fix that user's issue. As @RobertCraigie mentioned, more work is happening behind the scenes to align the SDK with more Node.js built-ins and align on web standard APIs so the SDK is interoperable between any JS Runtime environment. Keep an eye out for future updates 🚀 |
This was fixed in |
Confirm this is a feature request for the Node library and not the underlying OpenAI API.
Describe the feature or improvement you're requesting
My understanding is that this module use polyfills for Node.js.
There is no need for doing so given you support Node.js v18+.
This causes compatibility issues with the rest of the ecosystem.
Ref fastify/fastify#5584
Additional context
No response
The text was updated successfully, but these errors were encountered: