mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-18 05:25:54 +08:00
ComfyUI tool use the new internal enumeration class "VariableKey" (#8533)
This commit is contained in:
parent
c87f710d58
commit
1583283635
@ -333,7 +333,7 @@ class ComfyuiStableDiffusionTool(BuiltinTool):
|
||||
break
|
||||
|
||||
return self.create_blob_message(
|
||||
blob=image, meta={"mime_type": "image/png"}, save_as=self.VARIABLE_KEY.IMAGE.value
|
||||
blob=image, meta={"mime_type": "image/png"}, save_as=self.VariableKey.IMAGE.value
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user