Commit Graph

27 Commits

Author SHA1 Message Date
Matthew Zhou
2dae4d33c3 feat: Implement streaming chat completions endpoint [LET-5485] (#5446)
* wip

* Add chat completions router and fix streaming service

* Finish chat completions

* Finish chat completions

* Remove extra print statement

* Run just api

* Don't explicitly throw http exceptions but surface Letta errors

* Remap errors

* Trigger CI

* Add missing Optional import
2025-10-24 15:12:11 -07:00
cthomas
0776a236c8 feat: add new header dependency in all routes (#2905) 2025-09-15 14:33:08 -07:00
cthomas
2d971cdcf0 feat: hold reference to asyncio tasks in memory (#2823) 2025-09-10 17:08:07 -07:00
ahmedrowaihi
7f82aaf347 fix(openapi): OpenAPI schema validation UNEVALUATED PROPERTY must NOT have unevaluated properties 2025-04-29 23:37:47 +03:00
Matthew Zhou
beed896d60 feat: Support offline memory in voice agent (#1347) 2025-04-28 15:03:02 -07:00
cthomas
83157c1949 feat: add letta-free endpoint constant (#1907) 2025-04-27 12:57:06 -07:00
cthomas
128989820a feat: unify input message type on agent step (#1820) 2025-04-21 13:49:46 -07:00
Matthew Zhou
93b64084e2 feat: Change voice endpoint to have agent_id as required param in URL (#1233) 2025-03-10 13:36:55 -07:00
Matthew Zhou
711699bc40 fix: Fix chat completions interface and move fast chat completions endpoint to /voice (#1139) 2025-02-26 14:53:31 -08:00
Matthew Zhou
3078e44f7f fix: Fix broken message DB writing (#1134) 2025-02-26 13:29:57 -08:00
Matthew Zhou
997019afe8 feat: Add tool calling to fast chat completions (#1109) 2025-02-25 15:13:35 -08:00
Matthew Zhou
df1f9839a6 feat: Fast chat completions endpoint (#1091) 2025-02-20 18:55:25 -08:00
Matthew Zhou
8d7ff5a536 feat: Reverse inner thoughts for chat completions endpoint (#1081) 2025-02-20 12:30:34 -08:00
Matthew Zhou
b6773ea7ff feat: Add voice-compatible chat completions endpoint (#774) 2025-01-27 14:25:05 -08:00
Sarah Wooders
cc638e3593 chore: remove old OpenAI routers (#717) 2025-01-22 19:04:40 -08:00
Matthew Zhou
29b9896c41 chore: Move send_message_to_agent (#665) 2025-01-15 11:15:52 -08:00
Caren Thomas
7144fd2867 run black, add isort config to pyproject.toml 2024-12-26 19:43:11 -08:00
Caren Thomas
905906d416 run isort on apps/core 2024-12-26 19:27:09 -08:00
Shubham Naik
4cf354c033 fix: add tests to cypress 2024-12-23 14:44:08 -08:00
cthomas
7d5be32a59 feat: rename function to tool in sdk (#2288)
Co-authored-by: Caren Thomas <caren@caren-mac.local>
2024-12-19 12:12:58 -08:00
Matthew Zhou
7908b8a15f feat: Rewrite agents (#2232) 2024-12-13 14:43:19 -08:00
Sarah Wooders
07bb536018 feat: refactor agent memory representation and modify routes for editing blocks (#2094)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2024-11-27 16:04:13 -08:00
Matthew Zhou
5a59d2ac42 feat: Separate out streaming route (#2111) 2024-11-27 14:03:46 -08:00
Charles Packer
47ee4effd7 refactor: make Agent.step() multi-step (#1884) 2024-10-15 13:32:13 -07:00
Charles Packer
6b35e87245 fix: patch user_id in header (#1843) 2024-10-08 10:21:07 -07:00
Charles Packer
5501f6d92f refactor: remove get_current_user and replace with direct header read (#1834) 2024-10-07 15:23:08 -07:00
Sarah Wooders
8ae1e64987 chore: migrate package name to letta (#1775)
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Shubham Naik <shubham.naik10@gmail.com>
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2024-09-23 09:15:18 -07:00