Sarah Wooders
2ffef0fb31
Fix git-memory context preview parsing ( #9414 )
...
* fix(core): handle git memory label prefix collisions in filesystem view
Prevent context window preview crashes when a block label is both a leaf and a prefix (e.g. system/human and system/human/context) by rendering a node as both file and directory. Add regression test.
👾 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
* fix(core): parse git-backed core memory in context window preview
ContextWindowCalculator.extract_system_components now detects git-backed memory rendering (<memory_filesystem> and <system/...> tags) when <memory_blocks> wrapper is absent, so core_memory is populated in the context preview. Add regression tests.
👾 Generated with [Letta Code](https://letta.com )
Co-Authored-By: Letta <noreply@letta.com >
---------
Co-authored-by: Letta <noreply@letta.com >
2026-02-24 10:52:07 -08:00
Kevin Lin
35b5383724
feat: match line number rendering to Anthropic / OAI defaults ( #5492 )
2025-10-24 15:13:15 -07:00
Matthew Zhou
3c2911e9ae
feat: Remove jinja2 ( #2971 )
...
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
2025-09-17 10:00:49 -07:00
Sarah Wooders
ad1987639c
fix: fix various ease of use problems ( #3934 )
...
Co-authored-by: Matt Zhou <mattzh1314@gmail.com >
2025-08-15 00:07:12 -07:00
Sarah Wooders
d15e49808d
chore: add a concept (and enforcement of) read-only blocks ( #2161 )
2025-05-13 20:54:52 -07:00
Sarah Wooders
07bb536018
feat: refactor agent memory representation and modify routes for editing blocks ( #2094 )
...
Co-authored-by: Matt Zhou <mattzh1314@gmail.com >
2024-11-27 16:04:13 -08:00
Charles Packer
44df28417f
fix: boost default char limit to 5k for core memory blocks ( #2089 )
2024-11-22 11:13:56 -08:00
Charles Packer
1fe45372b0
fix: redo #2085 ( #2087 )
2024-11-21 20:19:22 -08:00
Charles Packer
507a60f71c
feat: routes for adding/linking new memory blocks to agents + unlinking blocks from agents ( #2083 )
2024-11-21 20:08:47 -08:00
Charles Packer
06744c9193
Revert "feat: add route for editing a memory blocks limit (via Memory, instead of via Blocks)" ( #2085 )
2024-11-21 20:08:17 -08:00
Charles Packer
17e39a57fe
feat: add route for editing a memory blocks limit (via Memory, instead of via Blocks) ( #2084 )
2024-11-21 19:52:08 -08:00
Matthew Zhou
2bb3baf060
feat: Move blocks to ORM model ( #1980 )
...
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
2024-11-19 11:32:33 -08:00
Sarah Wooders
8ae1e64987
chore: migrate package name to letta ( #1775 )
...
Co-authored-by: Charles Packer <packercharles@gmail.com >
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com >
Co-authored-by: Shubham Naik <shub@memgpt.ai >
2024-09-23 09:15:18 -07:00
Charles Packer
282e7b5289
refactor: use jinja2 templates for Memory.compile instead of writing Python code ( #1687 )
2024-09-03 15:44:52 -07:00
Sarah Wooders
7f589eaf63
refactor: move API to standardized pydantic schemas across CLI, Python client, REST server ( #1579 )
...
Co-authored-by: cpacker <packercharles@gmail.com >
Co-authored-by: matthew zhou <matthewzhou@matthews-MacBook-Pro.local >
Co-authored-by: Zack Field <field.zackery@gmail.com >
2024-08-16 19:53:21 -07:00
Charles Packer
e8813e5937
revert: #1659 ( #1660 )
2024-08-16 19:52:47 -07:00
Sarah Wooders
9601b53010
refactor: move API to standardized pydantic schemas across CLI, Python client, REST server (cleaned up git history) ( #1659 )
...
Co-authored-by: cpacker <packercharles@gmail.com >
Co-authored-by: matthew zhou <matthewzhou@matthews-MacBook-Pro.local >
Co-authored-by: Zack Field <field.zackery@gmail.com >
Co-authored-by: robingotz <tug29225@temple.edu >
Co-authored-by: Vandracon <vandracon@yahoo.com >
Co-authored-by: Maximilian-Winter <maximilian.winter.91@gmail.com >
Co-authored-by: Scott <scott@vysona.com >
Co-authored-by: Jonathan Ward <jonathan.ward7892@gmail.com >
Co-authored-by: madgrizzle <john@thehogans.name >
Co-authored-by: Carlo <284474102@qq.com >
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com >
Co-authored-by: Robin Goetz <35136007+goetzrobin@users.noreply.github.com >
2024-08-16 19:33:47 -07:00
Sarah Wooders
9b15cbef39
feat: refactor CoreMemory to support generalized memory fields and memory editing functions ( #1479 )
...
Co-authored-by: cpacker <packercharles@gmail.com >
Co-authored-by: Maximilian-Winter <maximilian.winter.91@gmail.com >
2024-07-01 11:50:57 -07:00