mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 00:48:45 +00:00
Small fix: Remove unused variable summary_message_role
(#1789)
After the changes in #1783, `summary_message_role` is no longer used in `ConversationSummaryBufferMemory`, so this PR removes it.
This commit is contained in:
parent
d5d50c39e6
commit
df8702fead
@ -12,7 +12,6 @@ class ConversationSummaryBufferMemory(BaseChatMemory, SummarizerMixin, BaseModel
|
|||||||
|
|
||||||
max_token_limit: int = 2000
|
max_token_limit: int = 2000
|
||||||
moving_summary_buffer: str = ""
|
moving_summary_buffer: str = ""
|
||||||
summary_message_role: str = "system"
|
|
||||||
memory_key: str = "history"
|
memory_key: str = "history"
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user