Commit Graph

257 Commits

Author SHA1 Message Date
cthomas
1a18314c6f test: use patch for agent loop error mocking in tests (#2860) 2025-09-12 16:46:18 -07:00
cthomas
087ab14fd6 feat: raise early exceptions in streaming endpoint (#2858) 2025-09-12 14:43:32 -07:00
cthomas
6cc8f37341 fix: remove extra logger param (#2851) 2025-09-12 07:07:26 -07:00
Matthew Zhou
5e04cfa5f4 fix: Update run to errored terminal state if streaming errors (#2846) 2025-09-11 16:54:51 -07:00
cthomas
858b8aa5c3 feat: add asyncio shield to async message route (#2825) 2025-09-10 17:38:43 -07:00
cthomas
2d971cdcf0 feat: hold reference to asyncio tasks in memory (#2823) 2025-09-10 17:08:07 -07:00
cthomas
65bd9492f5 feat: cutover to new refactored agent loop (#2801) 2025-09-10 14:46:30 -07:00
Matthew Zhou
ae7d08b2f5 feat: Add error handling callback [LET-4258] (#4481)
Add error handling callback
2025-09-08 18:45:03 -07:00
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
Charles Packer
3442b52cf7 fix(core): patch the error throwing for HITL [LET-4218] (#4455)
fix: patch the error throwing for HITL
2025-09-06 11:45:46 -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
b8d403c962 feat: Add ranks to archival memory search [LET-4193] (#4426)
* Add ranks to archival memory search

* Fix test managers

* Fix archival memory test
2025-09-04 13:35:54 -07:00
Sarah Wooders
8a9af86e7c feat: use datetime ranges for archival memory query (#4398) 2025-09-03 20:08:10 -07:00
Matthew Zhou
6dccc1961b feat: Add archival search endpoint [LET-4184] (#4390)
* Add archival search endpoint

* Run fern autogen

* Add de-dupe logic
2025-09-03 10:55:20 -07:00
cthomas
1e0c9a710b feat: refactor streaming route logic (#4369) 2025-09-02 19:27:13 -07:00
cthomas
6c160e1d1d feat: add input validation for messages field (#4328) 2025-08-29 22:06:12 -07:00
cthomas
6a5e7dd606 fix: modify approvals openapi overrides (#4324) 2025-08-29 16:55:45 -07:00
cthomas
7a2ccbd357 feat: add new modify approvals api (#4288)
* feat: add new modify approvals api

* remove path params override
2025-08-28 16:45:07 -07:00
Matthew Zhou
651671cb83 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
Shubham Naik
a8ffae6f8d feat: fix agentfile in clooud [PRO-1013] (#4271)
* feat: fix agentfile in clooud

* chore; fix lint

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-08-28 09:16:46 -07:00
cthomas
27458ffad5 feat: move deepseek to new agent loop [LET-4081] (#4266)
* feat: move deepseek to new agent loop

* fixes
2025-08-27 16:50:34 -07:00
Sarah Wooders
2b23ec7dff feat: support overriding embedding handle [LET-4021] (#4224) 2025-08-27 14:54:17 -07:00
Matthew Zhou
c3855d7c16 chore: Default to agent file v2 [LET-4063] (#4245)
Default to v2
2025-08-27 10:32:29 -07:00
cthomas
c0c43c1b00 feat: pipe env vars through agent file v2 [LET-4054] (#4217)
feat: pipe env vars through agent file v2
2025-08-26 14:54:06 -07:00
cthomas
e0c79002d9 feat: change env vars to json string [PRO-1061] (#4216)
feat: change env vars to json string
2025-08-26 14:53:27 -07:00
cthomas
cae23cbdd5 feat: add error handling for background mode fetch [LET-4052] (#4210)
* feat: add error handling for background mode fetch

* improve redis error message

* fix typeerror

---------

Co-authored-by: Shubham Naik <shub@letta.com>
2025-08-26 14:33:29 -07:00
cthomas
5bb13d9baa feat: add background filter to list runs endpoint (#4196) 2025-08-26 10:52:36 -07:00
cthomas
d4a9da64fb feat: support background mode for step streaming (#4156) 2025-08-25 10:56:04 -07:00
cthomas
03cf5f43ea feat: add background flag to streaming api (#4148) 2025-08-24 20:45:35 -07:00
Matthew Zhou
b3704e47be feat: Support override tool functionality to agent file v2 (#4092) 2025-08-21 16:58:19 -07:00
Matthew Zhou
7ed6d1dbaa feat: Add endpoint to list files attached to an agent (#4082) 2025-08-21 13:57:39 -07:00
cthomas
be3e562087 feat: add new groq llm client LET-3943 (#3937)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-08-21 13:13:25 -07:00
cthomas
d0ddc5545c feat: add new xai llm client (#3936) 2025-08-20 15:49:09 -07:00
cthomas
ca5d2827bc feat: add azure and together to new agent loop (#3987) 2025-08-18 16:26:14 -07:00
cthomas
fbc748f82c feat: make request body optional for cancel run (#3950) 2025-08-15 10:53:55 -07:00
cthomas
5cabdd9521 feat: add request body and fallback for cancel agent run (#3946) 2025-08-15 10:23:11 -07:00
cthomas
9405e43bce feat: add agent id input validation in retrieve endpoint (#3892) 2025-08-13 14:03:05 -07:00
Matthew Zhou
82fc01ed04 feat: Adjust import/export agent endpoints to accept new agent file schema (#3506)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
Co-authored-by: Shubham Naik <shub@letta.com>
2025-08-12 11:18:56 -07:00
Matthew Zhou
b529b1e4fa feat: Add max_steps parameter to agent export (#3828) 2025-08-08 13:38:29 -07:00
Matthew Zhou
4b788d11de feat: Support streaming and move endpoint for letta-free (#3780) 2025-08-06 15:33:35 -07:00
cthomas
7efd651366 feat: add ability to specify agent env vars on import (#3753) 2025-08-05 16:36:28 -07:00
Sarah Wooders
f5187583d2 feat: move ollama to new agent loop (#3615) 2025-07-31 13:40:26 -07:00
Shubham Naik
1dbe762550 feat: list agents blocks should default to the default project (#3660)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-07-30 17:37:46 -07:00
Shubham Naik
add4d35de1 feat: add not_indexable property to agents (#3653)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-07-30 17:09:36 -07:00
Charles Packer
a13c6c78bb feat: move keepalive to an arg (#3652) 2025-07-30 16:49:45 -07:00
Charles Packer
ce4e69cac6 feat: add keepalive wrapper to stream route (#3645)
Co-authored-by: Caren Thomas <carenthomas@gmail.com>
2025-07-29 22:53:38 -07:00
Matthew Zhou
b16f5ffc99 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
2cd985ef8a fix: Adjust summarize_agent_conversation endpoint to return 204 (#3595) 2025-07-28 14:29:09 -07:00
Sarah Wooders
c8d7291a2b chore: add more routes for folders 2025-07-23 23:33:20 -07:00