fix: fix various ease of use problems (#3934)

Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
This commit is contained in:
Sarah Wooders
2025-08-15 00:07:12 -07:00
committed by GitHub
parent d5b62af62d
commit ad1987639c
7 changed files with 40 additions and 251 deletions

View File

@@ -1,9 +1,11 @@
from conftest import create_test_module
from letta_client.errors import UnprocessableEntityError
from letta.constants import CORE_MEMORY_HUMAN_CHAR_LIMIT, CORE_MEMORY_PERSONA_CHAR_LIMIT
BLOCKS_CREATE_PARAMS = [
("human_block", {"label": "human", "value": "test"}, {"limit": 5000}, None),
("persona_block", {"label": "persona", "value": "test1"}, {"limit": 5000}, None),
("human_block", {"label": "human", "value": "test"}, {"limit": CORE_MEMORY_HUMAN_CHAR_LIMIT}, None),
("persona_block", {"label": "persona", "value": "test1"}, {"limit": CORE_MEMORY_PERSONA_CHAR_LIMIT}, None),
]
BLOCKS_MODIFY_PARAMS = [