fix: code lint (#24563)
This commit is contained in:
parent
b486d72b8e
commit
66e80f9dac
1 changed files with 1 additions and 1 deletions
|
|
@ -280,7 +280,7 @@ class ToolEngine:
|
||||||
mimetype = "image/jpeg"
|
mimetype = "image/jpeg"
|
||||||
|
|
||||||
yield ToolInvokeMessageBinary(
|
yield ToolInvokeMessageBinary(
|
||||||
mimetype=response.meta.get("mime_type", "image/jpeg"),
|
mimetype=response.meta.get("mime_type", mimetype),
|
||||||
url=cast(ToolInvokeMessage.TextMessage, response.message).text,
|
url=cast(ToolInvokeMessage.TextMessage, response.message).text,
|
||||||
)
|
)
|
||||||
elif response.type == ToolInvokeMessage.MessageType.BLOB:
|
elif response.type == ToolInvokeMessage.MessageType.BLOB:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue