File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
pydantic_ai_slim/pydantic_ai Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1080,6 +1080,7 @@ async def _call_tool(
10801080 f'The return value of tool { tool_call .tool_name !r} contains invalid nested `ToolReturn` objects. '
10811081 f'`ToolReturn` should be used directly.'
10821082 )
1083+ # TODO: Keep updated with the binary parsing in mcp.py
10831084 elif isinstance (content , _messages .MultiModalContent ):
10841085 identifier = content .identifier
10851086
Original file line number Diff line number Diff line change @@ -282,6 +282,7 @@ async def direct_call_tool(
282282 for idx , (part , part_metadata ) in enumerate (parts_with_metadata ):
283283 if part_metadata is not None :
284284 parts_metadata [idx ] = part_metadata
285+ # TODO: Keep updated with the multimodal content parsing in _agent_graph.py
285286 if isinstance (part , messages .BinaryContent ):
286287 identifier = part .identifier
287288
You can’t perform that action at this time.
0 commit comments