Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
feat: increase default file block size (#3074)
Kevin Lin687a0563e778
diff --git a/letta/constants.py b/letta/constants.pyindex 132aae1a0..8d3b72de7 100644--- a/letta/constants.py+++ b/letta/constants.py@@ -326,7 +326,7 @@ MAX_ERROR_MESSAGE_CHAR_LIMIT = 500CORE_MEMORY_PERSONA_CHAR_LIMIT: int = 5000CORE_MEMORY_HUMAN_CHAR_LIMIT: int = 5000CORE_MEMORY_BLOCK_CHAR_LIMIT: int = 5000-CORE_MEMORY_SOURCE_CHAR_LIMIT: int = 5000+CORE_MEMORY_SOURCE_CHAR_LIMIT: int = 50000# Function return limitsFUNCTION_RETURN_CHAR_LIMIT = 6000 # ~300 wordsBASE_FUNCTION_RETURN_CHAR_LIMIT = 1000000 # very high (we rely on implementation)diff --git a/letta/orm/files_agents.py b/letta/orm/files_agents.pyindex 028566354..4cb9b5c59 100644--- a/letta/orm/files_agents.py+++ b/letta/orm/files_agents.py@@ -78,4 +78,5 @@ class FileAgent(SqlalchemyBase, OrganizationMixin):value=visible_content,label=self.file.file_name,read_only=True,+ limit=CORE_MEMORY_SOURCE_CHAR_LIMIT,)