add backtick

This commit is contained in:
wl-zhao
2024-11-11 15:30:45 +08:00
parent 42981b7889
commit 35b2700251
+1 -1
View File
@@ -96,7 +96,7 @@ def schema_validator(prompt):
schema = node_cls.validate(**node_info["inputs"])
# validate schema
if not is_valid_variable_name(schema["title"]):
raise ValueError(f'{schema["title"]} is not a valid variable name!')
raise ValueError(f'`{schema["title"]}` is not a valid variable name!')
else:
raise NotImplementedError("the validate is not implemented")
schemas[mode][node_id] = schema