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.
tool-patch
Aratako 1 year ago committed by GitHub
parent d5d50c39e6
commit df8702fead
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save