feat(nodes.py): add optional memory field to MidJourneyPromptChainNode class constructor

This commit is contained in:
Gabriel Almeida 2023-05-10 22:31:16 -03:00
commit 2ffc8b266f

View file

@ -123,6 +123,13 @@ class MidJourneyPromptChainNode(FrontendNode):
multiline=False,
name="llm",
),
TemplateField(
field_type="BaseChatMemory",
required=False,
show=True,
name="memory",
advanced=False,
),
],
)
description: str = "MidJourneyPromptChain is a chain you can use to generate new MidJourney prompts."