Commit Graph

60 Commits

Author SHA1 Message Date
Matthew Zhou
531eb6afeb feat: Add project_id to message filtering/inserting to Turbopuffer [LET-4252] (#4466)
* Add project_id

* Fern autogen
2025-09-08 14:35:15 -07:00
Matthew Zhou
fb0e2d91a2 feat: Write tests for search messages [LET-4212] (#4447)
* Adjust naming

* Add testing and improve message search

* Adjust comments

* Change query text to query

* Fern autogen
2025-09-05 17:52:13 -07:00
Matthew Zhou
2e3cabc080 feat: Add search messages endpoint [LET-4144] (#4434)
* Add search messages endpoint

* Run fern autogen and fix tests
2025-09-05 14:28:27 -07:00
Matthew Zhou
fcfc40eaf2 feat: Add project id to message schema [LET-4166] (#4433)
* Add project id

* Propogate through update message by id async

* Add project id testing
2025-09-04 16:50:41 -07:00
Matthew Zhou
ba3843031e feat: Make end date inclusive on conversation search (#4431)
Make end date inclusive
2025-09-04 15:26:49 -07:00
Matthew Zhou
f305d3bfac feat: Move message embedding to background task [LET-4189] (#4430)
* Test background message embedding

* Change to content
2025-09-04 15:05:35 -07:00
Matthew Zhou
25d37e2ac9 fix: change to pure rank-based RRF for relevance ordering (#4411)
* Fix RRF

* Fix turbopuffer tests
2025-09-03 17:33:19 -07:00
Matthew Zhou
88831c7256 feat: Change namespace to be org scoped and filter on agent_id [LET-4163] (#4368)
* Change to org scoped and agent_id filtering

* Finish modifying conversation search tool

* Fix failing tests

* Get rid of bad imports
2025-09-03 10:00:19 -07:00
Matthew Zhou
75d444c335 feat: Extend crud lifecycle of messages [LET-4158] (#4364)
Extend crud lifecycle of messages
2025-09-02 14:38:30 -07:00
Matthew Zhou
8e2a53b956 feat: Modify conversation search tool to be hybrid (#4362)
* Modify conversation search functionality

* Gate the roles
2025-09-02 13:45:53 -07:00
Matthew Zhou
7d9d8b0d50 feat: Extract more text from messages [LET-4154] (#4359)
* Extract more message types

* Add extra tests testing for multiple parts
2025-09-02 13:25:32 -07:00
Matthew Zhou
20ac2923ff feat: Embed all messages in turbopuffer [LET-4143] (#4352)
* wip

* Finish embedding

* Fix ruff and tests
2025-09-02 12:43:48 -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
cthomas
e67a17bc6c feat: use no_refresh flag in message update (#3439) 2025-07-20 22:11:09 -07:00
cthomas
99d116faa6 feat: use no_refresh in message creation (#3435) 2025-07-20 20:38:23 -07:00
cthomas
cadc040f42 feat: remove organization from pydantic message model (#3411) 2025-07-19 09:28:54 -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
Kian Jones
f4659c9e01 feat(sqlite): CI Tests for Alembic and SQLite (#3358)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-07-17 18:04:13 -07:00
Matthew Zhou
c6ff04b4da feat: Integrate performant validate_agent_exists_async (#3350) 2025-07-15 17:15:33 -07:00
Matthew Zhou
093f65e891 feat: Change reset messages to always preserve the original system message (#2813) 2025-06-13 18:58:27 -07:00
cthomas
2823e4447a feat: add multi-modal input support (#2590) 2025-06-08 18:28:01 -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
cthomas
61ea680bdb fix: move db logic inside sessions (#2553) 2025-05-30 14:02:25 -07:00
Andy Li
831b7d5862 chore: cleanup (#2480) 2025-05-29 10:40:41 -07:00
cthomas
b84a0c1416 feat: optimize get message ids (#2508) 2025-05-28 23:15:36 -07:00
cthomas
0226157f3a feat(asyncify): convert reset messages endpoint (#2429) 2025-05-25 21:23:18 -07:00
cthomas
0633ae116b feat(asyncify): make core tools async (#2416) 2025-05-25 18:58:19 -07:00
cthomas
279aab28e9 feat: add db tracing to otel (#2337) 2025-05-22 13:47:49 -07:00
cthomas
44afd54c5c feat(asyncify): migrate list messages (#2272) 2025-05-20 16:52:11 -07:00
cthomas
b7a123eceb feat(asyncify): migrate modify block (#2232) 2025-05-17 23:24:24 -07:00
cthomas
80bde05b73 feat(asyncify): add size_async db function (#2207) 2025-05-16 01:22:48 -07:00
cthomas
c727f999b4 feat: convert agents routes to async (#2196) 2025-05-15 13:39:59 -07:00
cthomas
65e32082f7 feat: convert many methods to async (#2193) 2025-05-15 12:09:40 -07:00
Andy Li
a099e876f8 feat: async list/prepare messages (#2181)
Co-authored-by: Caren Thomas <carenthomas@gmail.com>
2025-05-15 00:34:04 -07:00
Andy Li
8e2417aa2f feat: async db client (#2076) 2025-05-12 17:15:14 -07:00
Matthew Zhou
f23602d919 feat: Add message listing for a letta batch (#1982) 2025-05-02 11:14:03 -07:00
Matthew Zhou
84f2b2107e feat: Adjust ephemeral memory agent to become persisted sleeptime agent (#1943) 2025-04-30 11:14:19 -07:00
Matthew Zhou
748e8d6837 fix: Remove extraneous relationships on ORM objects (#1755) 2025-04-17 14:37:37 -07:00
Matthew Zhou
2f6e098069 feat: Add monotonic ids on messages (#1522) 2025-04-01 18:23:34 -07:00
cthomas
261fd07b72 test: add more robust multi-agent testing (#1444) 2025-03-28 14:21:54 -07:00
Matthew Zhou
ac5a578890 feat: Extend list Messages to take in multiple roles (#1358) 2025-03-21 10:36:07 -07:00
Matthew Zhou
e1b16c5fea chore: Various bug fixes (#1350)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
Co-authored-by: cthomas <caren@letta.com>
Co-authored-by: tarunkumark <tkksctwo@gmail.com>
Co-authored-by: Kevin Lin <klin5061@gmail.com>
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Miao <one.lemorage@gmail.com>
Co-authored-by: Krishnakumar R (KK) <65895020+kk-src@users.noreply.github.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: Shubham Naik <shub@letta.com>
Co-authored-by: Will Sargent <will.sargent@gmail.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: mlong93 <35275280+mlong93@users.noreply.github.com>
Co-authored-by: Mindy Long <mindy@letta.com>
Co-authored-by: Stephan Fitzpatrick <stephan@knowsuchagency.com>
Co-authored-by: dboyliao <qmalliao@gmail.com>
Co-authored-by: Jyotirmaya Mahanta <jyotirmaya.mahanta@gmail.com>
Co-authored-by: Nicholas <102550462+ndisalvio3@users.noreply.github.com>
Co-authored-by: Tristan Morris <tristanbmorris@gmail.com>
Co-authored-by: Daniel Shin <88547237+kyuds@users.noreply.github.com>
Co-authored-by: Jindřich Šíma <67415662+JindrichSima@users.noreply.github.com>
Co-authored-by: Azin Asgarian <31479845+azinasg@users.noreply.github.com>
Co-authored-by: Connor Shorten <connorshorten300@gmail.com>
Co-authored-by: Lucas Mohallem Ferraz <ferraz.m.lucas@gmail.com>
Co-authored-by: kyuds <kyuds@everspin.co.kr>
2025-03-20 11:06:45 -07:00
Matthew Zhou
804e50e9db feat: Add batch create functionality to SqlAlchemyBase (#1332) 2025-03-18 15:40:02 -07:00
cthomas
aa2f4258c4 feat: add content parts to message schema (#1273)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-03-13 18:43:32 -07:00
cthomas
05df777824 feat: add agent to steps table and support filtering (#1212) 2025-03-07 10:10:29 -08:00
Sarah Wooders
4aeaec3523 feat: modify message modification route to be via LettaMessage (#1184) 2025-03-06 15:33:16 -08:00
Matthew Zhou
5b2e7d3356 feat: Add blocks and tools to agent serialization (#1187) 2025-03-04 15:31:50 -08:00
Matthew Zhou
997019afe8 feat: Add tool calling to fast chat completions (#1109) 2025-02-25 15:13:35 -08:00
Matthew Zhou
6d49dc1ac5 feat: Serialize agent state simple fields and messages (#1012) 2025-02-18 11:01:10 -08:00