update validate inputs

This commit is contained in:
wl-zhao
2024-10-18 14:05:58 +08:00
parent b8292f45ba
commit f1bf4485c1
+2 -2
View File
@@ -51,8 +51,8 @@ class ShellAgentPluginInputImage:
return schema
@classmethod
def VALIDATE_INPUTS(s, **kwargs):
image = kwargs.get("default_value", "")
def VALIDATE_INPUTS(s, input_name, default_value, description=""):
image = default_value
if image.startswith("http"):
return True