Commit Graph

314 Commits

Author SHA1 Message Date
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
83721679c6 test: Add test for archival tag compilation into system prompt [LET-4114] (#4312)
Add tests and thread created_at
2025-08-29 13:35:19 -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
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
jnjpng
feb232f04a fix: mcp schema generation and non-strict schema validation
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-22 15:45:33 -07:00
cthomas
adff55539e fix: propagate reasoning toggle on create agent (#3982) 2025-08-18 14:21:14 -07:00
Charles Packer
7bdc0a8de8 fix: handle faulty schemas from bad mcp servers better
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-15 16:08:52 -07:00
Andy Li
183c67c181 feat: typescript sandbox 2025-08-12 15:39:17 -07:00
Sarah Wooders
20a857b900 chore: remove legacy embeddings (#3846) 2025-08-12 15:11:09 -07:00
Matthew Zhou
4b788d11de feat: Support streaming and move endpoint for letta-free (#3780) 2025-08-06 15:33:35 -07:00
Matthew Zhou
25086518cd feat: Implement archival sharing (#3689) 2025-08-01 23:34:49 -07:00
Andy Li
4b547589c3 fix: vllm completions provider 2025-07-31 15:50:13 -07:00
Andy Li
277c26a58e feat: modal sandbox 2025-07-30 11:25:40 -07:00
Matthew Zhou
d446fcbd27 chore: Finish renaming agent serialization manager (#3497) 2025-07-22 18:01:00 -07:00
Matthew Zhou
6020632afd chore: Rename agent file manager (#3496) 2025-07-22 17:40:12 -07:00
Matthew Zhou
2744a93375 feat: Bulk remove from context window on source detach (#3495) 2025-07-22 17:22:51 -07:00
Andy Li
9ca1664ed8 feat: support for providers 2025-07-22 16:09:50 -07:00
Charles Packer
8981e93e9b fix: add better error message to help avoid common google instead of google-ai trip up (#1903)
Co-authored-by: Caren Thomas <carenthomas@gmail.com>
2025-07-22 13:36:51 -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
30958d75de feat: use custom dependencies in tool simulator (#3410) 2025-07-19 09:01:28 -07:00
Andy Li
905a9dd4bb chore: cleanup database detection 2025-07-18 17:12:56 -07:00
Andy Li
b7b678db4e feat: stop reasons and error messages and sentry fixes 2025-07-18 11:56:20 -07:00
Matthew Zhou
584b3a24e6 feat: Make get context window much more efficient (#3292) 2025-07-11 11:28:07 -07:00
cthomas
aea0d87338 fix: temporarily disable sleeptime doc ingest (#3143) 2025-07-02 16:11:56 -07:00
Matthew Zhou
804ec12ee2 feat: Only add suffix on duplication (#3120) 2025-07-01 13:48:38 -07:00
Matthew Zhou
241f653eb6 fix: Fix constraints and also implement bulk attach (#3107) 2025-06-30 14:27:57 -07:00
Andy Li
3ad892531f fix(hotfix): block update (#3069) 2025-06-27 13:28:56 -07:00
Matthew Zhou
fd1bff065a feat: Attach file blocks when creating an agent with source (#3027) 2025-06-25 14:08:00 -07:00
Sarah Wooders
10cdbf2ea4 feat: add ability to configure agent timezone (#2978)
Co-authored-by: Kian Jones <kian@letta.com>
2025-06-24 12:57:37 -07:00
Matthew Zhou
54562d88d7 feat: Add required before exit tool rule (#2977) 2025-06-23 17:02:40 -07:00
Matthew Zhou
b95d7b4b13 feat: Add auto-closing files via LRU metric (#2881) 2025-06-23 10:49:41 -07:00
cthomas
a332b34830 feat: make create_async route consistent with other message routes (#2877) 2025-06-19 13:51:51 -07:00
cthomas
fa362c404f feat: add bedrock client (#2913) 2025-06-19 12:07:00 -07:00
cthomas
5cc180ee47 feat: rename aws env vars for bedrock (#2907)
Co-authored-by: Andy Li <55300002+cliandy@users.noreply.github.com>
2025-06-19 10:36:47 -07:00
cthomas
97986b0f03 feat: send stop reason in letta APIs (#2789) 2025-06-13 16:04:48 -07:00
Andy Li
617d208bcc fix: list ollama embeddings models (#2711) 2025-06-10 10:44:26 -07:00
cthomas
c300e58db9 chore: create file manager (#2693) 2025-06-07 16:14:41 -07:00
Sarah Wooders
953ed5a610 feat: add include_return_message_types to LettaRequest to filter down requests (#2666) 2025-06-06 15:48:27 -07:00
Matthew Zhou
b9779170be feat: Change archival to only retrieve from agent passages (#2676) 2025-06-06 11:55:57 -07:00
Andy Li
80f6e97ca9 feat: otel metrics and expanded collecting (#2647)
(passed tests in last run)
2025-06-05 17:20:14 -07:00
Matthew Zhou
bf74e53915 feat: Add tools for opening and closing files (#2638) 2025-06-04 17:33:18 -07:00
Matthew Zhou
fb0dbbdf0d feat: Store entire parsed file content in separate table (#2618) 2025-06-03 18:51:45 -07:00
Andy Li
8fdfe9d66a fix: ollama support byom (#2602) 2025-06-03 15:40:21 -07:00
Matthew Zhou
5886f3819a feat: Adapt lifecycle management of file <-> agent association (#2591) 2025-06-02 17:34:12 -07:00
Matthew Zhou
bd019eb7b7 feat: Rename file object and create performant files <-> agents association (#2588) 2025-06-02 16:21:05 -07:00
Matthew Zhou
9c44b9ae6a feat: Add mistral for cloud document parsing (#2562) 2025-05-30 21:06:28 -07:00
Matthew Zhou
91cd3211ca feat: Add document block clean up triggers (#2552) 2025-05-30 13:34:37 -07:00
Matthew Zhou
e19955db6f feat: Insert file blocks for agent on source attach (#2545) 2025-05-30 11:09:59 -07:00
Kevin Lin
ed4b28f3e4 feat: Add files into agent context window on file upload (#1852)
Co-authored-by: Caren Thomas <carenthomas@gmail.com>
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-05-29 18:19:23 -07:00
Matthew Zhou
285acd0324 feat: Add summarization for more scenarios (#2499) 2025-05-29 11:10:13 -07:00