Commit Graph

33 Commits

Author SHA1 Message Date
cthomas
cfde955313 feat: prevent unbounded file queries (#8285) 2026-01-12 10:57:48 -08:00
Ari Webb
cb283373b7 feat: add retrieve_file endpoint to get file content [LET-6188] (#7485)
* feat: add retrieve_file endpoint to get file content

* Restore package-lock.json to main
2026-01-12 10:57:19 -08:00
Kian Jones
94c2921711 chore: walk back some temporary debugging stuff (#6332)
* first pass

* uv lock
2025-11-24 19:10:27 -08:00
cthomas
345ea42630 feat: offload all file i/o in server endpoints LET-6252 (#6300)
feat: offload all file i/o in server endpoints
2025-11-24 19:10:26 -08:00
cthomas
fa1e9c600d chore: rename list files in folders docs (#6097)
* chore: rename list files in folders docs

* fix ADE references
2025-11-24 19:10:11 -08:00
Kian Jones
848aa962b6 feat: add memory tracking to core (#6179)
* add memory tracking to core

* move to asyncio from threading.Thread

* remove threading.thread all the way

* delay decorator monitoring initialization until after event loop is registered

* context manager to decorator

* add psutil
2025-11-24 19:09:32 -08:00
Matthew Zhou
8df78e9429 feat: Move file upload to temporal [LET-6089] (#6024)
* Finish writing temporal upload file activity

* Remove prints

* Rewrite content re-use
2025-11-13 15:36:55 -08:00
Kian Jones
6c377cdc81 chore(logs): Add resource usage logging to streaming, file uploads, mcp client, and model caches (#5925)
* adding log messages to track memory consumption

* add logging to sources, folders, agentfiles, and mcp clients

* memory logging for tool creation paths
2025-11-13 15:36:50 -08:00
Kian Jones
bbaaabb6e1 fix: path validator had weird fastapi shared object memory bug (#5594)
* fix weird path param conflict

* move to factory model

* openapi

* use type hinting and import annotations

* re add after mc resolution
2025-10-24 15:13:15 -07:00
Kian Jones
448ba33c70 fix: source id from pydantic base class rather than expected string id (#5554)
* first pass

* hacky fix bc of path import
2025-10-24 15:12:26 -07:00
Kian Jones
2878a6e4bd feat: add path parameter validation for folder_id (#5523)
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-24 15:12:11 -07:00
Kian Jones
47bf549dfc feat: add path parameter validation for file_id (#5522)
🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Claude <noreply@anthropic.com>
2025-10-24 15:12:11 -07:00
Ari Webb
967cc3decf move exceptions out of folders and sources [LET-4631] (#5444) 2025-10-24 15:12:11 -07:00
cthomas
0905f3fb00 docs: fix typo (#2951) 2025-09-15 22:31:42 -07:00
cthomas
0367ecacee feat: add pagination to folders agents endpoint (#2947) 2025-09-15 22:07:49 -07:00
cthomas
e44a3bfcc1 feat: add pagination to folders files endpoint (#2946) 2025-09-15 22:07:34 -07:00
cthomas
33de52940a feat: rename folders metadata endpoint (#2943) 2025-09-15 21:47:02 -07:00
cthomas
c9f9da90a1 feat: add pagination to folders passages endpoint (#2942) 2025-09-15 21:41:31 -07:00
cthomas
1febc4b228 feat: deprecate get folder by name endpoint (#2941) 2025-09-15 21:40:59 -07:00
cthomas
824b83a7b3 feat: rename folders agents endpoint (#2940) 2025-09-15 21:08:19 -07:00
cthomas
0776a236c8 feat: add new header dependency in all routes (#2905) 2025-09-15 14:33:08 -07:00
cthomas
6749dfb2d4 feat: add pagination to folders endpoint (#2897) 2025-09-15 10:57:07 -07:00
cthomas
2d971cdcf0 feat: hold reference to asyncio tasks in memory (#2823) 2025-09-10 17:08:07 -07:00
Matthew Zhou
3a551f4bb7 feat: Add turbopuffer embedder by default [LET-4253] (#4476)
* Adapt to turbopuffer embedder

* Make turbopuffer search more efficient over all source ids

* Combine turbopuffer and pinecone hybrid

* Fix test sources
2025-09-08 18:46:41 -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
f918ca0a59 feat: Add better error catching for files upload (#4145) 2025-08-24 16:46:57 -07:00
Sarah Wooders
53920b08b1 fix: use default embedding (#4041)
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
2025-08-21 21:36:10 -07:00
Matthew Zhou
7ed6d1dbaa feat: Add endpoint to list files attached to an agent (#4082) 2025-08-21 13:57:39 -07:00
Matthew Zhou
8095d87df3 feat: Add tests for renaming files (#4066) 2025-08-20 16:23:03 -07:00
Matthew Zhou
dc8c6d8246 feat: Allow renaming files on upload (#4061) 2025-08-20 13:59:05 -07:00
Matthew Zhou
dc6145f6f2 feat: Add refresh functionality for files (#4053) 2025-08-20 13:17:59 -07:00
Sarah Wooders
4b626e7a2c fix: upgrade letta-client version and patch folder paths (#3528) 2025-07-24 00:58:30 -07:00
Sarah Wooders
1ef3174ad4 chore: add duplicated routes to eventually migrate sources to folders 2025-07-23 22:34:07 -07:00