Commit Graph

18 Commits

Author SHA1 Message Date
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
7ed6d1dbaa feat: Add endpoint to list files attached to an agent (#4082) 2025-08-21 13:57:39 -07:00
Matthew Zhou
b16f5ffc99 feat: Polishing open files tools (#3575)
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Shubham Naik <shub@letta.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: cthomas <caren@letta.com>
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
Co-authored-by: Cameron Pfiffer <cameron@pfiffer.org>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
Co-authored-by: Kian Jones <kian@Kians-MacBook-Pro.local>
2025-07-29 15:46:51 -07:00
Matthew Zhou
2744a93375 feat: Bulk remove from context window on source detach (#3495) 2025-07-22 17:22:51 -07:00
Matthew Zhou
6252e78e67 feat: Add FileBlock object (#3488) 2025-07-22 15:41:21 -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
Matthew Zhou
b0138ecad6 feat: Support exporting/importing sources and files for agent file (#3414) 2025-07-18 16:20:18 -07:00
Matthew Zhou
c94b227a32 feat: Improve performance on files related data models (#3285) 2025-07-10 18:00:35 -07:00
Matthew Zhou
241f653eb6 fix: Fix constraints and also implement bulk attach (#3107) 2025-06-30 14:27:57 -07:00
Matthew Zhou
269f6b6b7b fix: Fix duplicate file blocks (#3105) 2025-06-30 11:35:03 -07:00
Matthew Zhou
edb20fa8d9 feat: Rework and simplify files tooling (#3058) 2025-06-27 13:23:44 -07:00
Matthew Zhou
fd1bff065a feat: Attach file blocks when creating an agent with source (#3027) 2025-06-25 14:08:00 -07:00
Matthew Zhou
b95d7b4b13 feat: Add auto-closing files via LRU metric (#2881) 2025-06-23 10:49:41 -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
ef52a852a3 feat: Add line metadata and warnings to file blocks (#2663) 2025-06-05 17:02:28 -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
Matthew Zhou
bd019eb7b7 feat: Rename file object and create performant files <-> agents association (#2588) 2025-06-02 16:21:05 -07:00