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
On Azure OpenAI, when streaming responses, the first chat completion chunk may contain an empty choices[] array, and instead only contains information about filtered categories:
On Azure OpenAI, when streaming responses, the first chat completion chunk may contain an empty
choices[]
array, and instead only contains information about filtered categories:This is the same issue as microsoft/semantic-kernel#3650.
Directly indexing into
chunk.choices[0]
, as the Mentat code currently does, naturally causes anIndexError: list index out of range
.I'll submit a PR to rectify this shortly.
The text was updated successfully, but these errors were encountered: