fix(nodes): allow connection input on string batch nodes

This commit is contained in:
psychedelicious
2025-01-21 06:54:07 +11:00
parent 66bc225bd3
commit 2b2ec67cd6

View File

@@ -83,7 +83,9 @@ class StringBatchInvocation(BaseBatchInvocation):
"""Create a batched generation, where the workflow is executed once for each string in the batch."""
strings: list[str] = InputField(
default=[], min_length=1, description="The strings to batch over", input=Input.Direct
default=[],
min_length=1,
description="The strings to batch over",
)
def invoke(self, context: InvocationContext) -> StringOutput: