Skip to content

Commit 0521b21

Browse files
committed
Removed pragma no cover on VideoUrl
1 parent 12eff82 commit 0521b21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pydantic_ai_slim/pydantic_ai/models/openai.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ async def _map_single_item(item: object) -> list[ChatCompletionContentPartParam]
743743
handled = await OpenAIChatModel._handle_document_url(item)
744744
if handled is not None:
745745
return handled
746-
if isinstance(item, VideoUrl): # pragma: no cover
746+
if isinstance(item, VideoUrl):
747747
raise NotImplementedError('VideoUrl is not supported for OpenAI')
748748
# Fallback: unknown type — return empty parts to avoid type-checker Never error
749749
return []

0 commit comments

Comments
 (0)