Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: Lower file config defaults for larger models (#3543)
Matthew Zhou00ebfcc6a8ab
diff --git a/letta/utils.py b/letta/utils.pyindex 2b8a45019..b2f356428 100644--- a/letta/utils.py+++ b/letta/utils.py@@ -1236,6 +1236,6 @@ def calculate_file_defaults_based_on_context_window(context_window: Optional[intelif context_window <= 128_000: # Large models (100K-128K)return 10, 25_000 # ~62.5K tokenselif context_window <= 200_000: # Very large models (128K-200K)- return 10, 50_000 # ~128k tokens+ return 10, 40_000 # ~100k tokenselse: # Extremely large models (200K+)- return 15, 50_000 # ~187.5k tokens+ return 15, 40_000 # ~1505k tokens