Skip to content

Commit e77eae8

Browse files
committed
fix(tools): extracting image from mcp tool call result
1 parent 25ec70a commit e77eae8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/askui/models/shared/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def _convert_to_content(
5959
ImageBlockParam(
6060
source=Base64ImageSourceParam(
6161
media_type=media_type,
62-
data=result.data,
62+
data=block.data,
6363
)
6464
)
6565
)

0 commit comments

Comments
 (0)