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
Kian Jones
60226ad203
fix: missing cursor kwargs ( #5763 )
...
* accept cursor logic
* add test
2025-11-13 15:35:34 -08:00
Kian Jones
45065297a0
feat: runtime validation for ids for internal managers calls ( #5544 )
...
* claude coded first pass
* fix test cases to expect errors instead
* fix this
* let's see how letta-code did
* claude
* fix tests, remove dangling comments, retrofit all managers functions with decorator
* revert to main for these since we are not erroring on invalid tool and block ids
* reorder decorators
* finish refactoring test cases
* reorder agent_manager decorators and fix test tool manager
* add decorator on missing managers
* fix id sources
* remove redundant check
* uses enum now
* move to enum
2025-10-24 15:13:47 -07:00
Ari Webb
967cc3decf
move exceptions out of folders and sources [LET-4631] ( #5444 )
2025-10-24 15:12:11 -07:00
cthomas
1febc4b228
feat: deprecate get folder by name endpoint ( #2941 )
2025-09-15 21:40:59 -07:00
cthomas
6749dfb2d4
feat: add pagination to folders endpoint ( #2897 )
2025-09-15 10:57: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
20881b3383
feat: Surface vector db in source object [LET-4257] ( #4479 )
...
* Surface vector db
* Change default
* Fern autogen
* Fix sqlite test managers
2025-09-08 18:08:55 -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
a2f4ca5f89
fix: Fix bugs with exporting/importing agents with files ( #4089 )
2025-08-21 16:23:37 -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
e68f563b03
feat: Add bulk source upsert mechanism ( #3456 )
2025-07-21 14:52:20 -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
ef902753b8
feat: Add get agents for source_id endpoint ( #3381 )
2025-07-17 11:47:41 -07:00
Matthew Zhou
c94b227a32
feat: Improve performance on files related data models ( #3285 )
2025-07-10 18:00:35 -07:00
Matthew Zhou
9605d1f79c
feat: Add pinecone for cloud embedding ( #3160 )
2025-07-03 22:37:55 -07:00
cthomas
c300e58db9
chore: create file manager ( #2693 )
2025-06-07 16:14:41 -07:00
Matthew Zhou
09ec9ffeea
feat: Add file metadata processing status ( #2665 )
2025-06-06 11:11:39 -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
fb0dbbdf0d
feat: Store entire parsed file content in separate table ( #2618 )
2025-06-03 18:51:45 -07:00
cthomas
61ea680bdb
fix: move db logic inside sessions ( #2553 )
2025-05-30 14:02:25 -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
cthomas
02685db77f
feat(asyncify): convert actor load in sources count ( #2428 )
2025-05-25 21:52:16 -07:00
Sarah Wooders
852e9ee7f2
fix: minor patches for sources ( #2410 )
2025-05-23 21:43:36 -07:00
Sarah Wooders
1d2f8d86e9
feat(asyncify): migrate sources to async ( #2332 )
2025-05-22 19:39:44 -07:00
cthomas
279aab28e9
feat: add db tracing to otel ( #2337 )
2025-05-22 13:47:49 -07:00
Andy Li
8e2417aa2f
feat: async db client ( #2076 )
2025-05-12 17:15:14 -07:00
Andy Li
223e2b4ca2
feat: add endpoints for counts of agents, identities, sources, & tools ( #1865 )
2025-04-24 17:42:11 -07:00
Matthew Zhou
6d49dc1ac5
feat: Serialize agent state simple fields and messages ( #1012 )
2025-02-18 11:01:10 -08:00
mlong93
819e360356
fix: deprecate cursor param and replace with before, after ( #736 )
...
Co-authored-by: Mindy Long <mindy@letta.com >
2025-01-23 14:17:25 -08:00
cthomas
98c5702ef9
chore: rename metadata_ field to metadata in pydantic ( #732 )
2025-01-22 19:05:41 -08:00
Matthew Zhou
7908b8a15f
feat: Rewrite agents ( #2232 )
2024-12-13 14:43:19 -08:00
mlong93
9deacbd89e
feat: orm passage migration ( #2180 )
...
Co-authored-by: Mindy Long <mindy@letta.com >
2024-12-10 18:09:35 -08:00
mlong93
6c2c7231ab
feat: message orm migration ( #2144 )
...
Co-authored-by: Mindy Long <mindy@letta.com >
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
Co-authored-by: Matt Zhou <mattzh1314@gmail.com >
2024-12-06 11:50:15 -08:00
Matthew Zhou
d23c0c8cf4
chore: Migrate FileMetadata to ORM ( #2028 )
2024-11-13 10:59:46 -08:00
Matthew Zhou
e40e60945a
feat: Move Source to ORM model ( #1979 )
2024-11-12 09:57:40 -08:00