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
Thanks for reporting. I believe .on('error', cb) should actually work, but doesn't appeared to be typed/documented appropriately. We'll look into this.
Confirm this is a feature request for the Node library and not the underlying OpenAI API.
Describe the feature or improvement you're requesting
Been using the Assistants stream events (https://github.com/openai/openai-node/blob/master/helpers.md) and was wondering if there is a missing
error
event to compliment theend
event? Or is there an expectation that we would use theevent
event and trackerror
orend
as needed from this list? https://platform.openai.com/docs/api-reference/assistants-streaming/eventsAdditional context
I am worried that without an
error
eventend
would be used and there would be a gap in how I could handle this with my application.The text was updated successfully, but these errors were encountered: