fix bug about extra fields
This commit is contained in:
parent
df43dbc6bc
commit
d1fbbd5fff
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@ class MemoryFrontendNode(FrontendNode):
|
|||
# chat history should have another way to add common field?
|
||||
# prevent adding incorect field in ChatMessageHistory
|
||||
if "BaseChatMessageHistory" in self.base_classes:
|
||||
pass
|
||||
return
|
||||
|
||||
# add return_messages field
|
||||
self.template.add_field(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue