You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirm this is a Node library issue and not an underlying OpenAI API issue
This is an issue with the Node library
Describe the bug
One of openai.chat.completions.create return types is ApiPromise<Stream<OpenAI.Chat.ChatCompletionChunk>>
yet the Stream is not the intrinsic Nodejs Stream, and not exported from openai.
To Reproduce
try to set type of awaited or in Promise return value from openai.chat.completions.create()
Confirm this is a Node library issue and not an underlying OpenAI API issue
Describe the bug
One of openai.chat.completions.create return types is ApiPromise<Stream<OpenAI.Chat.ChatCompletionChunk>>
yet the Stream is not the intrinsic Nodejs Stream, and not exported from openai.
To Reproduce
try to set type of awaited or in Promise return value from openai.chat.completions.create()
Code snippets
OS
any
Node version
18.13.0
Library version
4.20.1
The text was updated successfully, but these errors were encountered: