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
Yeah there's opportunity to have better errors from streaming endpoint - like OpenAIError::ApiError from non-streaming counterpart. PRs welcome :)
The model is not enum for couple of reasons:
The spec never had it as enum
Even if model was an enum and given that OpenAI releases new models and deprecate old ones - its would create maintenance burden to keep library in sync. String is good enough choice.
Works with turbo but not gpt4. Error message doesn't help much.
Code
The text was updated successfully, but these errors were encountered: