fix input image bug

This commit is contained in:
wl-zhao
2024-10-17 23:40:42 +08:00
parent b8b6657801
commit 60d68d99ef
+2 -1
View File
@@ -51,7 +51,8 @@ class ShellAgentPluginInputImage:
return schema
@classmethod
def VALIDATE_INPUTS(s, image):
def VALIDATE_INPUTS(s, **kwargs):
image = kwargs.get("default_value", "")
if image.startswith("http"):
return True