🔒 chore(vectorstores.py): add password field to extra_field2 in VectorStoreFrontendNode class

The password field is added to the extra_field2 in the VectorStoreFrontendNode class. This allows the field to be displayed as a password input in the frontend, enhancing security by hiding the input characters.
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-04 09:56:52 -03:00
commit 7d098ab927

View file

@ -65,6 +65,7 @@ class VectorStoreFrontendNode(FrontendNode):
show=True, show=True,
advanced=True, advanced=True,
multiline=False, multiline=False,
password=True,
value="", value="",
) )
extra_field2 = TemplateField( extra_field2 = TemplateField(