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 1542f5c commit 7d683b7Copy full SHA for 7d683b7
pydantic_ai_slim/pydantic_ai/models/openai.py
@@ -1558,7 +1558,8 @@ async def _map_messages( # noqa: C901
1558
and (status := content.get('status'))
1559
):
1560
web_search_item['status'] = status
1561
- elif (
+ elif ( # pragma: no cover
1562
+ # File Search Tool status update - only called from API-dependent paths
1563
item.tool_name == FileSearchTool.kind
1564
and file_search_item is not None
1565
and isinstance(item.content, dict) # pyright: ignore[reportUnknownMemberType]
0 commit comments