letta-ai / letta

Letta (formerly MemGPT) is a framework for creating LLM services with memory.
https://letta.com
Apache License 2.0
12.88k stars 1.41k forks source link

fix: fix bug where updates sets block limit to default value #2074

Closed kl2806 closed 15 hours ago

kl2806 commented 1 day ago

Please describe the purpose of this pull request. Updating blocks with length greater than the default length throws an error due to the default limit value of BlockUpdate. This PR allows setting limits for BlockUpdate so that updates larger than the default limit are allowed.

How to test Run the test pytest -s tests/test_managers.py::test_update_block_limit