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 5cf0225 commit b0d2624Copy full SHA for b0d2624
pydantic_ai_slim/pydantic_ai/mcp.py
@@ -705,7 +705,6 @@ async def _map_tool_result_part(
705
resource = part.resource
706
return self._get_content(resource)
707
elif isinstance(part, mcp_types.ResourceLink):
708
- # read_resource will raise MCPError if the resource is not found or has any other error
709
return await self.read_resource(str(part.uri))
710
else:
711
assert_never(part)
0 commit comments