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:
Aratako 2023-03-20 03:01:03 +09:00 committed by GitHub
parent d5d50c39e6
commit df8702fead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,6 @@ class ConversationSummaryBufferMemory(BaseChatMemory, SummarizerMixin, BaseModel
max_token_limit: int = 2000
moving_summary_buffer: str = ""
summary_message_role: str = "system"
memory_key: str = "history"
@property