From 35b27002511fe530b26d214683f36b0be78d60d6 Mon Sep 17 00:00:00 2001 From: wl-zhao Date: Mon, 11 Nov 2024 15:30:45 +0800 Subject: [PATCH] add backtick --- custom_routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_routes.py b/custom_routes.py index 4ab5e2b..5dedf90 100755 --- a/custom_routes.py +++ b/custom_routes.py @@ -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