feat: set default memory messages limit to infinite (#5002)
This commit is contained in:
@@ -77,7 +77,7 @@ class PromptTransform:
|
||||
max_token_limit=max_token_limit,
|
||||
message_limit=memory_config.window.size
|
||||
if (memory_config.window.enabled
|
||||
and memory_config.window.size is not None
|
||||
and memory_config.window.size > 0)
|
||||
else 10
|
||||
and memory_config.window.size is not None
|
||||
and memory_config.window.size > 0)
|
||||
else None
|
||||
)
|
||||
|
Reference in New Issue
Block a user