Selaa lähdekoodia

fix: code lint (#24563)

tags/1.8.0
jiangbo721 2 kuukautta sitten
vanhempi
commit
66e80f9dac
No account linked to committer's email address
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      api/core/tools/tool_engine.py

+ 1
- 1
api/core/tools/tool_engine.py Näytä tiedosto

@@ -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:

Loading…
Peruuta
Tallenna