Commit Graph

30 Commits

Author SHA1 Message Date
Kian Jones
f5c4ab50f4 chore: add ty + pre-commit hook and repeal even more ruff rules (#9504)
* auto fixes

* auto fix pt2 and transitive deps and undefined var checking locals()

* manual fixes (ignored or letta-code fixed)

* fix circular import

* remove all ignores, add FastAPI rules and Ruff rules

* add ty and precommit

* ruff stuff

* ty check fixes

* ty check fixes pt 2

* error on invalid
2026-02-24 10:55:11 -08:00
Ari Webb
967cc3decf move exceptions out of folders and sources [LET-4631] (#5444) 2025-10-24 15:12:11 -07:00
Sarah Wooders
354205f581 feat: create new runs table [LET-4467] (#4841) 2025-10-07 17:50:47 -07:00
Kian Jones
b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00
Kian Jones
22f70ca07c chore: officially migrate to submodule (#4502)
* remove apps/core and apps/fern

* fix precommit

* add submodule updates in workflows

* submodule

* remove core tests

* update core revision

* Add submodules: true to all GitHub workflows

- Ensure all workflows can access git submodules
- Add submodules support to deployment, test, and CI workflows
- Fix YAML syntax issues in workflow files

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* remove core-lint

* upgrade core with latest main of oss

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-09 12:45:53 -07:00
Matthew Zhou
516f2963e0 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
Kian Jones
fecf6decfb 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
d797296032 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
c3eefbc3d6 fix: Fix 0 indexing for offset (#4086) 2025-08-21 14:29:51 -07:00
Matthew Zhou
6a713f9ae7 feat: Change grep to be paginated (#3815) 2025-08-07 16:50:05 -07:00
Matthew Zhou
2f87cd4393 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
e62ddf8355 feat: Add per-agent file management controls with context-aware defaults (#3467) 2025-07-22 10:43:37 -07:00
Matthew Zhou
1643739305 feat: Improve performance on files related data models (#3285) 2025-07-10 18:00:35 -07:00
Matthew Zhou
1d9b4a789d feat: Add error on out of range for open_files (#3214) 2025-07-07 16:40:25 -07:00
Matthew Zhou
954675396f feat: Add pinecone for cloud embedding (#3160) 2025-07-03 22:37:55 -07:00
Matthew Zhou
243d3d040b feat: Add close all files functionality (#3139) 2025-07-02 14:27:38 -07:00
Matthew Zhou
9bb80194fe feat: Rework and simplify files tooling (#3058) 2025-06-27 13:23:44 -07:00
Matthew Zhou
49877f00dd feat: Attach file blocks when creating an agent with source (#3027) 2025-06-25 14:08:00 -07:00
Shangyin Tan
829b5e61f1 fix: search_files with embed_query (#2996) 2025-06-24 15:55:34 -07:00
Matthew Zhou
0a9ff9d0d5 feat: Add auto-closing files via LRU metric (#2881) 2025-06-23 10:49:41 -07:00
Matthew Zhou
e78e7d5897 feat: Add optional lines param to grep tool (#2914) 2025-06-20 13:36:54 -07:00
cthomas
082a130d8f fix: file tool init merge conflict (#2921) 2025-06-19 15:02:26 -07:00
Kevin Lin
5b83c96af4 feat: tune file tools prompting (#2652) 2025-06-13 16:24:59 -07:00
Matthew Zhou
951773d0ec feat: Add content aware line chunking (#2707) 2025-06-09 13:03:25 -07:00
cthomas
82dd311011 chore: create file manager (#2693) 2025-06-07 16:14:41 -07:00
Matthew Zhou
a155d9bdd5 feat: Implement grep tool (#2694) 2025-06-06 17:36:49 -07:00
Matthew Zhou
6610c0b859 feat: Search files returns citations of the filenames that were searched (#2689) 2025-06-06 15:34:03 -07:00
Matthew Zhou
971433f9d5 feat: Add line metadata and warnings to file blocks (#2663) 2025-06-05 17:02:28 -07:00
Matthew Zhou
0d1563a1fd feat: Implement search files (#2645) 2025-06-04 20:23:04 -07:00
Matthew Zhou
470b13f4b9 feat: Add tools for opening and closing files (#2638) 2025-06-04 17:33:18 -07:00