🐛 fix(memories.py): set advanced field to False for input_key and output_key fields
The advanced field was set to True for input_key and output_key fields, which made them appear in the advanced section of the UI. This was not intended, so the advanced field is now set to False for these fields.
This commit is contained in:
parent
508c66cbaa
commit
c686ed01ca
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ class MemoryFrontendNode(FrontendNode):
|
|||
if field.name in ["input_key", "output_key"]:
|
||||
field.required = False
|
||||
field.show = True
|
||||
field.advanced = True
|
||||
field.advanced = False
|
||||
field.value = ""
|
||||
if field.name == "memory_key":
|
||||
field.value = "chat_history"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue