mirror of
https://github.com/langgenius/dify.git
synced 2026-04-26 21:55:58 +08:00
ComfyUI tool use the new internal enumeration class "VariableKey" (#8533)
This commit is contained in:
@ -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:
|
||||
|
||||
Reference in New Issue
Block a user