From a459786d735cc2b14e7631e9d955c544bd7ce6e3 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Wed, 18 Oct 2023 21:40:34 +1100 Subject: [PATCH] fix(nodes): enable number to string coercion --- invokeai/app/invocations/baseinvocation.py | 1 + 1 file changed, 1 insertion(+) diff --git a/invokeai/app/invocations/baseinvocation.py b/invokeai/app/invocations/baseinvocation.py index 8bd4a89f45..ba94e7c440 100644 --- a/invokeai/app/invocations/baseinvocation.py +++ b/invokeai/app/invocations/baseinvocation.py @@ -693,6 +693,7 @@ class BaseInvocation(ABC, BaseModel): validate_assignment=True, json_schema_extra=json_schema_extra, json_schema_serialization_defaults_required=True, + coerce_numbers_to_str=True, )