Commit Graph

61 Commits

Author SHA1 Message Date
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
cthomas
b65ad237b6 feat: add LettaPing to streaming response (#3647) 2025-07-29 22:34:32 -07:00
Andy Li
f1ea0bb904 fix: catch import error 2025-07-25 14:46:19 -07:00
Andy Li
fe2e525ac9 feat: profiling middleware 2025-07-25 13:12:59 -07:00
Andy Li
58081e3cea feat: support for providers 2025-07-22 16:09:50 -07:00
Andy Li
c08425b4fe chore: default to uvloop 2025-07-18 12:48:36 -07:00
Andy Li
60c4e23904 feat: stop reasons and error messages and sentry fixes 2025-07-18 11:56:20 -07:00
Andy Li
04e9f43220 chore: strings lint cleanup (#3374) 2025-07-18 09:20:45 -07:00
cthomas
fd835492d8 feat: LET-3090 add sqlalchemy debug info to traces (#3401) 2025-07-17 22:17:48 -07:00
Shubham Naik
49641ca7bb chore: fix generation (#3262)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-07-09 20:17:02 -07:00
Andy Li
9a7a8071a6 chore: proper logging for sentry (#3195) 2025-07-07 12:37:39 -07:00
Kian Jones
ad67ed761d filter out noisy sentry (#3191) 2025-07-07 11:38:07 -07:00
Kian Jones
0ff12fdb44 fix(sentry): Add sentry filtering stop gap (#3185) 2025-07-07 09:39:59 -07:00
Matthew Zhou
954675396f feat: Add pinecone for cloud embedding (#3160) 2025-07-03 22:37:55 -07:00
Andy Li
d9ebed06ef fix: batch jobs not being polled (#3034) 2025-06-25 17:07:21 -07:00
Andy Li
19077a47f8 fix: duplicate messages in message context (#2998) 2025-06-24 16:15:45 -07:00
cthomas
1405464a1c feat: send stop reason in letta APIs (#2789) 2025-06-13 16:04:48 -07:00
cthomas
a43be2b377 feat: add stop reason object (#2783) 2025-06-12 16:54:29 -07:00
Andy Li
eaf5682422 feat: plugin system and backend runtime flags (#2543) 2025-06-05 18:12:44 -07:00
Andy Li
d2252f2953 feat: otel metrics and expanded collecting (#2647)
(passed tests in last run)
2025-06-05 17:20:14 -07:00
Andy Li
2e0bc916a1 feat: support for uvloop and granian (#2542) 2025-06-03 15:42:45 -07:00
Sarah Wooders
8133a5a158 feat: add MCP servers into a table and MCP tool execution to new agent loop (#2323)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
2025-05-23 16:22:16 -07:00
Charles Packer
0d6261a02f fix: patch MCP error for MCP tools that have no functions (#2041) 2025-05-10 11:16:49 -07:00
jnjpng
3e66a80be0 build: add hot reload config for core letta server (#2093) 2025-05-09 11:39:43 -07:00
Matthew Zhou
6170d9f497 feat: Make tool execution directory if does not exist (#1992) 2025-05-02 13:53:08 -07:00
Matthew Zhou
abca9c8c25 feat: Implement app-level leader election for polling jobs (#1991) 2025-05-02 12:56:23 -07:00
Matthew Zhou
84f66aedd3 feat: Add safety checks for voice agent configuration (#1955) 2025-04-30 16:46:45 -07:00
cthomas
7fb6d68380 fix: run openapi polyfill (#1937) 2025-04-29 16:41:01 -07:00
Sarah Wooders
da62cc6898 feat: add batch job tracking and generate batch APIs (#1727)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-04-17 17:02:07 -07:00
Matthew Zhou
5fe18ec0e9 feat: Create polling job for polling batch results (#1624)
Previous run passed all relevant checks, so skipping the wait. This new commit just merges main.
2025-04-08 16:42:12 -07:00
Matthew Zhou
dc361c5c8e feat: Clean up prints (#1515) 2025-04-01 15:20:43 -07:00
Matthew Zhou
337778c65d feat: Async agent loop (#1387) 2025-03-27 15:24:50 -07:00
Matthew Zhou
c343abb75e 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
cthomas
608b54b0e5 feat: add otel collector to prod deployment (#1320) 2025-03-17 16:31:54 -07:00
cthomas
eae2cb5044 chore: read otel endpoint from settings (#1312) 2025-03-17 10:28:32 -07:00
cthomas
4b7ddea527 fix: uvicorn run args bug (#1308) 2025-03-16 16:00:46 -07:00
cthomas
edab956d0b fix: remove old otel config files (#1310) 2025-03-16 14:36:32 -07:00
cthomas
d8966d8c7e feat: add content parts to message schema (#1273)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-03-13 18:43:32 -07:00
Matthew Zhou
4eaa410139 feat: Factor out some uvicorn settings as environment variables (#1266) 2025-03-13 12:26:50 -07:00
cthomas
e29f333cbe chore: message schema api improvements (#1267) 2025-03-13 12:04:03 -07:00
Charles Packer
7789da21c8 feat: initial MCP support (#1229)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-03-12 17:33:24 -07:00
cthomas
6c3c1e6526 feat: add support for custom service name in logging (#1194) 2025-03-05 09:52:09 -08:00
cthomas
84132d63f5 feat: log request data to otel (#1149) 2025-03-03 11:51:05 -08:00
cthomas
c5985ed989 feat: add tracing (#883) 2025-02-18 19:03:31 -08:00
cthomas
619be87a47 feat: add password support for auth header (#832) 2025-01-29 17:04:07 -08:00
Matthew Zhou
1e504a0b2b feat: Add voice-compatible chat completions endpoint (#774) 2025-01-27 14:25:05 -08:00
Shubham Naik
c97e5512f7 chore: do not render windows characters (#745)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-01-23 10:01:28 -08:00
cthomas
36c30a5471 fix: remove manual step logging (#738) 2025-01-22 21:07:23 -08:00
Sarah Wooders
2204d92f3b chore: remove old OpenAI routers (#717) 2025-01-22 19:04:40 -08:00
Charles Packer
208933b798 fix: patch use_assistant_message flag on the server (#704)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-01-20 13:17:45 -08:00