Commit Graph

212 Commits

Author SHA1 Message Date
Matthew Zhou
531eb6afeb feat: Add project_id to message filtering/inserting to Turbopuffer [LET-4252] (#4466)
* Add project_id

* Fern autogen
2025-09-08 14:35:15 -07:00
Matthew Zhou
fb0e2d91a2 feat: Write tests for search messages [LET-4212] (#4447)
* Adjust naming

* Add testing and improve message search

* Adjust comments

* Change query text to query

* Fern autogen
2025-09-05 17:52:13 -07:00
Matthew Zhou
2e3cabc080 feat: Add search messages endpoint [LET-4144] (#4434)
* Add search messages endpoint

* Run fern autogen and fix tests
2025-09-05 14:28:27 -07:00
Matthew Zhou
fcfc40eaf2 feat: Add project id to message schema [LET-4166] (#4433)
* Add project id

* Propogate through update message by id async

* Add project id testing
2025-09-04 16:50:41 -07:00
Matthew Zhou
b8d403c962 feat: Add ranks to archival memory search [LET-4193] (#4426)
* Add ranks to archival memory search

* Fix test managers

* Fix archival memory test
2025-09-04 13:35:54 -07:00
Matthew Zhou
6dccc1961b feat: Add archival search endpoint [LET-4184] (#4390)
* Add archival search endpoint

* Run fern autogen

* Add de-dupe logic
2025-09-03 10:55:20 -07:00
Matthew Zhou
88831c7256 feat: Change namespace to be org scoped and filter on agent_id [LET-4163] (#4368)
* Change to org scoped and agent_id filtering

* Finish modifying conversation search tool

* Fix failing tests

* Get rid of bad imports
2025-09-03 10:00:19 -07:00
Matthew Zhou
00fd8617a6 feat: Add association for the vector namespace [LET-4148] (#4354)
Add association for the namespace
2025-09-02 13:21:42 -07:00
Matthew Zhou
335e0c2be1 feat: Support timestamp filtering for archival memories [LET-3469] (#4330)
Finish temporal filtering
2025-08-30 19:31:07 -07:00
Kian Jones
ca6cfa5914 chore: migrate to ruff (#4305)
* base requirements

* autofix

* Configure ruff for Python linting and formatting

- Set up minimal ruff configuration with basic checks (E, W, F, I)
- Add temporary ignores for common issues during migration
- Configure pre-commit hooks to use ruff with pass_filenames
- This enables gradual migration from black to ruff

* Delete sdj

* autofixed only

* migrate lint action

* more autofixed

* more fixes

* change precommit

* try changing the hook

* try this stuff
2025-08-29 11:11:19 -07:00
Matthew Zhou
016feda83a feat: Support arbitrary string tagging filtering [LET-3467] (#4285)
* Finish tagging

* Add comprehensive tags functionality

* Add fern autogen

* Create passage tags table

* Add indices

* Add comments explaining dual storage

* Fix alembic heads

* Fix alembic

---------

Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
2025-08-28 16:57:36 -07:00
cthomas
7a2ccbd357 feat: add new modify approvals api (#4288)
* feat: add new modify approvals api

* remove path params override
2025-08-28 16:45:07 -07:00
cthomas
b0cf7f0e93 feat: add new default_requires_approval flag on tools (#4287) 2025-08-28 15:38:59 -07:00
Matthew Zhou
2791be982a feat: Add hybrid search on turbopuffer [LET-4096] (#4284)
Add hybrid search
2025-08-28 13:10:25 -07:00
Matthew Zhou
651671cb83 feat: Support basic upload/querying on tpuf [LET-3465] (#4255)
* wip implementing turbopuffer

* Move imports up

* Add type of archive

* Integrate turbopuffer functionality

* Debug turbopuffer tests failing

* Fix turbopuffer

* Run fern

* Fix multiple heads
2025-08-28 10:39:16 -07:00
Matthew Zhou
2fa546e15d chore: Move environment to settings [LET-4080] (#4265)
Move environment to settings
2025-08-27 14:52:35 -07:00
Sarah Wooders
38c251b01b feat: add cloud template fields to blocks/groups/agents [LET-3979]
* commit

* fix tests

* add routes

* remove old fields

* remove entity from group

* generate, migrate

* update

* keep from_template, etc.

* keep block fields

* final

* generate

* pass tests

* generate

* keep defaults

---------

Co-authored-by: jin <jin@letta.com>
2025-08-26 23:17:06 -07:00
cthomas
395faf3ed8 feat: add prompt generator for on the fly system prompt generation (#4060) 2025-08-20 15:49:40 -07:00
Andy Li
7ae52f418a docs: update for manager funcs 2025-08-15 13:55:10 -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
cthomas
9e53eb4564 fix: add tool exec env vars to create agent return (#3898) 2025-08-13 14:58:58 -07:00
Sarah Wooders
20a857b900 chore: remove legacy embeddings (#3846) 2025-08-12 15:11:09 -07:00
Andy Li
63be7417cc chore: clean up tool rule solver code 2025-08-08 16:39:17 -07:00
Matthew Zhou
b529b1e4fa feat: Add max_steps parameter to agent export (#3828) 2025-08-08 13:38:29 -07:00
cthomas
13c916afaa feat: offload jinja to threadpool LET-3615 (#3787) 2025-08-06 16:34:28 -07:00
Kevin Lin
e20f4eca92 fix: update default include_base_tool_rules to None (#3762)
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
2025-08-06 15:58:29 -07:00
cthomas
21f0373b45 feat: remove redundant memory compilation in agent step (#3785) 2025-08-06 15:46:18 -07:00
cthomas
1957799383 feat: add reasoning toggle in agents routes (#3705) 2025-08-06 11:47:06 -07:00
cthomas
7efd651366 feat: add ability to specify agent env vars on import (#3753) 2025-08-05 16:36:28 -07:00
Kevin Lin
669b54a745 feat: exclude stronger models from default base tool rules (#3703)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-08-05 20:33:05 +00:00
Matthew Zhou
a170bd3f7b fix: Fix tool renaming if json schema is passed in (#3745) 2025-08-05 11:36:23 -07:00
cthomas
28da313442 chore: deprecate orm enum file (#3724) 2025-08-04 11:59:55 -07:00
Matthew Zhou
25086518cd feat: Implement archival sharing (#3689) 2025-08-01 23:34:49 -07:00
Shubham Naik
5119d52c40 feat: fix agent create for hidden (#3696)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-07-31 20:19:35 -07:00
cthomas
8919f06b67 feat: convert compile system prompt to async (#3685) 2025-07-31 15:49:59 -07:00
Shubham Naik
add4d35de1 feat: add not_indexable property to agents (#3653)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-07-30 17:09:36 -07:00
cthomas
f77a259d07 feat: asyncify jinja templates (#3580) 2025-07-26 23:17:24 -07:00
Kevin Lin
fb0525e0ce fix: update test sources with file limits (#3521) 2025-07-24 10:14:28 -07:00
Kevin Lin
d4a63a1826 feat: add max files and file open window to system prompt (#3515) 2025-07-23 17:05:53 -07:00
Matthew Zhou
b85a44f928 fix: Fix open/close/close-all files (#3512) 2025-07-23 15:22:11 -07:00
Matthew Zhou
d446fcbd27 chore: Finish renaming agent serialization manager (#3497) 2025-07-22 18:01:00 -07:00
Matthew Zhou
fa58214a99 feat: Improve attach/detach missing file tools performance (#3486) 2025-07-22 15:35:42 -07:00
Matthew Zhou
fd5d66fad6 feat: Add manual open/close file endpoints (#3475) 2025-07-22 11:23:38 -07:00
Matthew Zhou
29573e4d3f feat: Add per-agent file management controls with context-aware defaults (#3467) 2025-07-22 10:43:37 -07:00
cthomas
f2ce39b5c7 feat: optimize agent creation (#3445) 2025-07-20 23:45:16 -07:00
cthomas
8ed1505cea feat: add special message update helper for agent (#3442) 2025-07-20 23:00:57 -07:00
cthomas
8aa418a35a feat: only load specified relationships for agents (#3438) 2025-07-20 22:11:46 -07:00
cthomas
66332164ff feat: remove groups selectin from agents model (#3429) 2025-07-19 23:45:59 -07:00
cthomas
b0e8fa6d4d feat: remove organization from blocks pydantic schema (#3428) 2025-07-19 23:42:19 -07:00
cthomas
ad71ccfdc7 feat: remove organization from agents pydantic schema (#3426) 2025-07-19 22:47:32 -07:00