Reported by @ivory nebula
Bug Report: Azure OpenAI returns NONE (Null) stream
`Steps to Reproduce`
Hi there - we are experiencing a high load of NULL stream returns for this code below
Did anyone face this issue?
chunks_stream = await self._client.chat.completions.create(
model=self._model_name,
messages=typing.cast(
typing.Iterable[ChatCompletionMessageParam], messages
),
stream=True,
**completion_config,
)
if chunks_stream is None:
raise Exception(
`Expected Result`
Non-null stream
`Actual Result`
Null stream
`Environment`
python v3.11.5, openai v.1.62