Commit Graph

515 Commits

Author SHA1 Message Date
cthomas
b8c2f42d33 feat: add support for approval request creation (#4313) 2025-08-29 15:23:02 -07:00
cthomas
bfd6030f72 feat: make new message create type field optional [LET-4116] (#4319)
feat: make new message create type field optional
2025-08-29 15:22:34 -07:00
cthomas
bb87cc68c7 feat: add approval create input to messages endpoints [LET-4110] (#4309)
* feat: add approval create input to messages endpoints

* rename discriminator tag

* add base class with default

* add field validator

* exclude new type field from agent file schema
2025-08-29 13:16:03 -07:00
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
2d19903252 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
Sarah Wooders
58be205098 chore: patch update tools (#4090)
* patch update tools

* update tool patch

* fallback to generation for legacy tools

* avoid re-parsing source if json schema exists

* fix more tests

* remove asssert

* fix

* update

* update

* update

* Fix tests

---------

Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-08-28 11:34:36 -07:00
Matthew Zhou
d797296032 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
a64f500a8d 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
3dd5747627 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
6e628a93f7 feat: support overriding embedding handle [LET-4021] (#4224) 2025-08-27 14:54:17 -07:00
cthomas
3cd746456a feat: asyncify groups operations [LET-4068] (#4254)
feat: asyncify groups operations
2025-08-27 12:00:53 -07:00
cthomas
0d1282a09b feat: dont swallow application errors in streaming response [LET-4069] (#4253)
* feat: dont swallow application errors in streaming response

* change error back to exception
2025-08-27 11:59:43 -07:00
Matthew Zhou
ea1532d1c9 chore: Default to agent file v2 [LET-4063] (#4245)
Default to v2
2025-08-27 10:32:29 -07:00
Sarah Wooders
250d8b8006 feat: add cloud template fields to blocks/groups/agents [LET-3979]
* commit

* fix tests

* add routes

* remove old fields

* remove entity from group

* generate, migrate

* update

* keep from_template, etc.

* keep block fields

* final

* generate

* pass tests

* generate

* keep defaults

---------

Co-authored-by: jin <jin@letta.com>
2025-08-26 23:17:06 -07:00
cthomas
07c155a1c2 feat: make provider trace fetch result nullable [PRO-1063] (#4222)
feat: make provider trace fetch result nullable
2025-08-26 15:57:02 -07:00
cthomas
2173119a29 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
5f2e686310 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
b6b2bba7a7 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
4a53a466e6 feat: add pagination to list runs endpoint (#4204) 2025-08-26 13:26:12 -07:00
cthomas
ea34fdeeb7 feat: add background filter to list runs endpoint (#4196) 2025-08-26 10:52:36 -07:00
Matthew Zhou
9871bffdf2 fix: Add check status update flag to list (#4177) 2025-08-25 16:21:33 -07:00
cthomas
6c59bc8dea feat: add retrieve stream testing (#4168) 2025-08-25 16:13:59 -07:00
cthomas
8909fd257b feat: add new client.runs.stream endpoint (#4165) 2025-08-25 13:42:22 -07:00
cthomas
dc83ff9f52 feat: set 3hr ttl for streaming background jobs (#4167) 2025-08-25 13:39:06 -07:00
cthomas
755731ca12 feat: populate run id in streaming response (#4161) 2025-08-25 11:55:41 -07:00
cthomas
dc9b7f28f3 feat: populate seq_id in chunks for background mode (#4160) 2025-08-25 11:51:41 -07:00
cthomas
d8c98ec23a feat: add error chunk handling for background mode (#4158) 2025-08-25 11:12:16 -07:00
cthomas
ff83a5a24f feat: support background mode for step streaming (#4156) 2025-08-25 10:56:04 -07:00
cthomas
0db7fc981c feat: add background flag to streaming api (#4148) 2025-08-24 20:45:35 -07:00
Matthew Zhou
d79c060979 fix: Add asyncio import (#4147) 2025-08-24 17:15:41 -07:00
Matthew Zhou
2ceb144afb feat: Add better error catching for files upload (#4145) 2025-08-24 16:46:57 -07:00
cthomas
c8771d6b80 feat: catch asyncio cancellations from app in stream response (#4112) 2025-08-22 15:42:14 -07:00
Sarah Wooders
883982c893 fix: use default embedding (#4041)
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
2025-08-21 21:36:10 -07:00
Matthew Zhou
1be8b89031 feat: Support override tool functionality to agent file v2 (#4092) 2025-08-21 16:58:19 -07:00
Matthew Zhou
a4860eb72d feat: Add endpoint to list files attached to an agent (#4082) 2025-08-21 13:57:39 -07:00
Charles Packer
eb00e49a37 fix: patch support for custom headers + auth in MCP connects (was getting a weird silent error)
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-21 13:42:19 -07:00
cthomas
269c536530 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
Matthew Zhou
890dc5ad9a feat: Add tests for renaming files (#4066) 2025-08-20 16:23:03 -07:00
cthomas
c7b71ad8a9 feat: add new xai llm client (#3936) 2025-08-20 15:49:09 -07:00
Matthew Zhou
21e5132a6e feat: Allow renaming files on upload (#4061) 2025-08-20 13:59:05 -07:00
Matthew Zhou
647cc64814 feat: Add refresh functionality for files (#4053) 2025-08-20 13:17:59 -07:00
cthomas
b2a68a467c feat: add resource closed errors throughout stream (#4021) 2025-08-19 16:02:04 -07:00
cthomas
b1f1d0a5bf feat: only stream last chunk if client is connected (#4015) 2025-08-19 14:46:30 -07:00
cthomas
9ec8473404 feat: catch closed resource error in stream processing (#4003) 2025-08-19 12:11:00 -07:00
cthomas
eb472dc1e0 feat: introduce asyncio shield to stream response (#3992) 2025-08-18 17:11:19 -07:00
cthomas
71d3b342c8 feat: add azure and together to new agent loop (#3987) 2025-08-18 16:26:14 -07:00
cthomas
2862913b77 fix: openai test connection (#3981) 2025-08-18 14:22:36 -07:00
cthomas
c307b41086 feat: add tools generation response to error logs (#3984) 2025-08-18 14:21:45 -07:00
Sarah Wooders
63707b9c91 fix: allow for empty base_url for provider check (#3977) 2025-08-17 13:38:36 -07:00
Charles Packer
773a6452d1 fix: handle faulty schemas from bad mcp servers better
Co-authored-by: jnjpng <jin@letta.com>
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-15 16:08:52 -07:00