fix: code lint (#24563)

This commit is contained in:
jiangbo721 2025-08-26 23:35:30 +08:00 committed by GitHub
parent b486d72b8e
commit 66e80f9dac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -280,7 +280,7 @@ class ToolEngine:
mimetype = "image/jpeg"
yield ToolInvokeMessageBinary(
mimetype=response.meta.get("mime_type", "image/jpeg"),
mimetype=response.meta.get("mime_type", mimetype),
url=cast(ToolInvokeMessage.TextMessage, response.message).text,
)
elif response.type == ToolInvokeMessage.MessageType.BLOB: