🚀 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:
Gabriel Luiz Freitas Almeida 2023-06-23 08:14:26 -03:00
commit fed726b727

View file

@ -62,3 +62,5 @@ class MemoryFrontendNode(FrontendNode):
field.show = True
field.advanced = True
field.value = ""
if field.name == "memory_key":
field.value = "chat_history"