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 12eff82 commit 0521b21Copy full SHA for 0521b21
pydantic_ai_slim/pydantic_ai/models/openai.py
@@ -743,7 +743,7 @@ async def _map_single_item(item: object) -> list[ChatCompletionContentPartParam]
743
handled = await OpenAIChatModel._handle_document_url(item)
744
if handled is not None:
745
return handled
746
- if isinstance(item, VideoUrl): # pragma: no cover
+ if isinstance(item, VideoUrl):
747
raise NotImplementedError('VideoUrl is not supported for OpenAI')
748
# Fallback: unknown type — return empty parts to avoid type-checker Never error
749
return []
0 commit comments