🚀 feat(memories.py): set default value for memory_key field to "chat_history"
The memory_key field is now set to "chat_history" by default. This change ensures that the memory_key field is always initialized with a default value, which is useful for the application's functionality.
This commit is contained in:
parent
4dec5db45e
commit
fed726b727
1 changed files with 2 additions and 0 deletions
|
|
@ -62,3 +62,5 @@ class MemoryFrontendNode(FrontendNode):
|
|||
field.show = True
|
||||
field.advanced = True
|
||||
field.value = ""
|
||||
if field.name == "memory_key":
|
||||
field.value = "chat_history"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue