|
@@ -45,7 +45,11 @@ class VariableTemplateParser:
|
|
|
def replacer(match):
|
|
|
key = match.group(1)
|
|
|
value = inputs.get(key, match.group(0))
|
|
|
-
|
|
|
+
|
|
|
+ if isinstance(value, list | dict | bool | int | float):
|
|
|
+ value = str(value)
|
|
|
+
|
|
|
+
|
|
|
if remove_template_variables:
|
|
|
return VariableTemplateParser.remove_template_variables(value)
|
|
|
return value
|