fix(core-tests): update SDK blocks limit expectation to 100k (#9653)

fix(core-tests): align blocks sdk expected limit with 100k default
This commit is contained in:
Charles Packer
2026-02-25 00:05:40 -08:00
committed by Caren Thomas
parent 9422b2d993
commit 1555c338b6

View File

@@ -1,11 +1,11 @@
from conftest import create_test_module
from letta_client import UnprocessableEntityError
from letta.constants import CORE_MEMORY_HUMAN_CHAR_LIMIT, CORE_MEMORY_PERSONA_CHAR_LIMIT
from letta.constants import CORE_MEMORY_BLOCK_CHAR_LIMIT
BLOCKS_CREATE_PARAMS = [
("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),
("human_block", {"label": "human", "value": "test"}, {"limit": CORE_MEMORY_BLOCK_CHAR_LIMIT}, None),
("persona_block", {"label": "persona", "value": "test1"}, {"limit": CORE_MEMORY_BLOCK_CHAR_LIMIT}, None),
]
BLOCKS_UPDATE_PARAMS = [