From 4936c79e0308d977a44597daf3ef902c877325c4 Mon Sep 17 00:00:00 2001 From: Kaveen Kumarasinghe Date: Sun, 29 Oct 2023 19:45:53 -0400 Subject: [PATCH] update default summarize threshold --- models/openai_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/openai_model.py b/models/openai_model.py index 02440579..af2f5063 100644 --- a/models/openai_model.py +++ b/models/openai_model.py @@ -225,7 +225,7 @@ def set_initial_state(self, usage_service): self.summarize_threshold = ( SETTINGS_DB["summarize_threshold"] if "summarize_threshold" in SETTINGS_DB - else 3000 + else 5000 ) self.model_max_tokens = 4024 self.welcome_message_enabled = (