Explorar el Código

fix: code lint (#24563)

tags/1.8.0
jiangbo721 hace 2 meses
padre
commit
66e80f9dac
No account linked to committer's email address
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      api/core/tools/tool_engine.py

+ 1
- 1
api/core/tools/tool_engine.py Ver fichero

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

Cargando…
Cancelar
Guardar