We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7421545 commit e426bd9Copy full SHA for e426bd9
pydantic_ai_slim/pydantic_ai/models/openai.py
@@ -1171,6 +1171,7 @@ async def _get_event_iterator(self) -> AsyncIterator[ModelResponseStreamEvent]:
1171
except IndexError:
1172
continue
1173
1174
+ # When using Azure OpenAI and an async content filter is enabled, the openai SDK can return None deltas.
1175
if choice.delta is None: # pyright: ignore[reportUnnecessaryComparison]
1176
1177
0 commit comments