mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-04 05:12:38 +02:00
chore: linting
This commit is contained in:
parent
b9a66cb417
commit
ca9bbee06d
41 changed files with 314 additions and 244 deletions
|
|
@ -177,8 +177,8 @@ class SurfSenseCompactionMiddleware(SummarizationMiddleware):
|
|||
messages_in=len(conversation_messages),
|
||||
extra={"compaction.cutoff_index": int(cutoff_index)},
|
||||
):
|
||||
messages_to_summarize, preserved_messages = (
|
||||
super()._partition_messages(conversation_messages, cutoff_index)
|
||||
messages_to_summarize, preserved_messages = super()._partition_messages(
|
||||
conversation_messages, cutoff_index
|
||||
)
|
||||
|
||||
protected: list[AnyMessage] = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue