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 0c8251d commit 55598daCopy full SHA for 55598da
pydantic_ai_slim/pydantic_ai/mcp.py
@@ -303,7 +303,7 @@ async def direct_call_tool(
303
# If there is only one content metadata, unwrap it
304
return_metadata = parts_metadata[0]
305
else:
306
- return_metadata = {'content': parts_metadata}
+ return_metadata = {'content': parts_metadata} # pragma: no cover
307
308
if result.meta is not None and len(result.meta) > 0: # pragma: no cover
309
return_metadata = result.meta
0 commit comments