fix: prompt fields are never password
This commit is contained in:
parent
cdf50ebe7a
commit
16843fd66d
1 changed files with 3 additions and 0 deletions
|
|
@ -275,6 +275,9 @@ class PromptFrontendNode(FrontendNode):
|
||||||
):
|
):
|
||||||
field.field_type = "BaseMessagePromptTemplate"
|
field.field_type = "BaseMessagePromptTemplate"
|
||||||
|
|
||||||
|
# All prompt fields should be password=False
|
||||||
|
field.password = False
|
||||||
|
|
||||||
|
|
||||||
class MemoryFrontendNode(FrontendNode):
|
class MemoryFrontendNode(FrontendNode):
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue