Commit Graph

1746 Commits

Author SHA1 Message Date
Andy Li
acfdab2ced feat: uv migration (#3493)
* uv migration

smaller runners, freeze test runs, remove dev, ruff,hatchling, previw,
poetry, generates wheel, installs wheel, docker

* fix tests and dependency groups

* test fixes

* test fixing and main

* resolve merge conflict

* dev + test dependency group

* Test

* trigger CI

* trigger CI

* add debugging info

* trigger CI

* uv for reusable and sdk preview

* resolve mc and reformat black

* staged-api

* mypy

* fix fern

* prod Dockerfile

* model sweep, and project.toml and uvlock

* --group test -> --extra dev

* remove redundant --extra dev and rename tests to dev

* sdk backwards compat install sqlite

* install sqlite group for sdk-backwards-compat

* install uv on gh runner for cloud-api-integration-tests

* stage+publish

* pytest asyncio

* bug causing pytest package to get removed

* try to fix async event loop issues

* migrate to --with google-cloud-secret-manager

---------

Co-authored-by: Kian Jones <kian@letta.com>
2025-08-26 18:11:09 -07:00
cthomas
3d62f14bac feat: add gating to provider trace persistence in db (#4223)
* feat: make provider trace fetch result nullable

* feat: add flag for persisting provider trace to db
2025-08-26 15:58:26 -07:00
cthomas
4b6e52b0e5 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
2f8a223c03 feat: add new llm client for deepseek [LET-4056] (#4219)
feat: add new llm client for deepseek
2025-08-26 15:14:09 -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
jnjpng
fb6ecfc575 LET-4053: chore: clean up old mcp client code
fix(LET-4053): clean up old mcp client code

Remove commented-out and unused files in functions/mcp_client:
- Deleted base_client.py (fully commented out)
- Deleted sse_client.py (fully commented out)
- Deleted stdio_client.py (fully commented out)
- Deleted empty __init__.py

Kept types.py and exceptions.py as they contain active code still being used.
2025-08-26 14:14:09 -07:00
cthomas
feaf15dc6a feat: add pagination to list runs endpoint (#4204) 2025-08-26 13:26:12 -07:00
cthomas
5bb13d9baa feat: add background filter to list runs endpoint (#4196) 2025-08-26 10:52:36 -07:00
jnjpng
4d6d686c6e feat: generate strict-compatible schema for MCP tools with optional fields
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-25 22:08:59 -07:00
Kevin Lin
1c3781f68d fix: patch anthropic send message tests (#4173)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-08-25 21:17:08 -07:00
Charles Packer
20c1bd316f fix: allow for send_message to be unterminated if the user requests it (#4169) 2025-08-25 21:11:14 -07:00
Matthew Zhou
f25844fbe2 fix: Add check status update flag to list (#4177) 2025-08-25 16:21:33 -07:00
cthomas
e63dedab7a feat: add retrieve stream testing (#4168) 2025-08-25 16:13:59 -07:00
cthomas
6ca388557f feat: add new client.runs.stream endpoint (#4165) 2025-08-25 13:42:22 -07:00
cthomas
59dc8f7881 feat: set 3hr ttl for streaming background jobs (#4167) 2025-08-25 13:39:06 -07:00
Kevin Lin
80ea4a0608 fix: pass thinking to anthropic client (#4150) 2025-08-25 13:36:55 -07:00
Sarah Wooders
9eb303b5f4 fix: avoid using summarization agent when not using voice (#4097) 2025-08-25 13:23:24 -07:00
cthomas
7eeba12ef5 feat: populate run id in streaming response (#4161) 2025-08-25 11:55:41 -07:00
cthomas
9ea2ce2aa8 feat: populate seq_id in chunks for background mode (#4160) 2025-08-25 11:51:41 -07:00
cthomas
c63708e087 feat: add error chunk handling for background mode (#4158) 2025-08-25 11:12:16 -07:00
cthomas
d4a9da64fb feat: support background mode for step streaming (#4156) 2025-08-25 10:56:04 -07:00
cthomas
5cd4f378d5 feat: add run id to stream response (#4152) 2025-08-25 09:43:45 -07:00
cthomas
03cf5f43ea feat: add background flag to streaming api (#4148) 2025-08-24 20:45:35 -07:00
Matthew Zhou
9358bec393 fix: Remove possibility of empty strings when updating (#4149) 2025-08-24 17:28:11 -07:00
cthomas
39b2a20a7c feat: add optional seq id for chunks in stream (#4143) 2025-08-24 17:25:11 -07:00
Matthew Zhou
7f81ac0661 fix: Add asyncio import (#4147) 2025-08-24 17:15:41 -07:00
cthomas
399b633899 feat: add redis stream support (#4144) 2025-08-24 17:15:34 -07:00
Matthew Zhou
f918ca0a59 feat: Add better error catching for files upload (#4145) 2025-08-24 16:46:57 -07:00
cthomas
7a64b208b4 feat: add form field validation in UI for bedrock byok (#4141) 2025-08-24 14:23:13 -07:00
cthomas
2049c944e0 fix: unassigned local var error (#4140) 2025-08-24 12:39:29 -07:00
jnjpng
feb232f04a fix: mcp schema generation and non-strict schema validation
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-22 15:45:33 -07:00
cthomas
b230b5faf5 feat: catch asyncio cancellations from app in stream response (#4112) 2025-08-22 15:42:14 -07:00
jnjpng
5d4509590e feat: add x-agent-id header for mcp tool execution
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-22 14:09:03 -07:00
jnjpng
1a15df668e fix: mcp client cleanup but finally
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-22 13:07:58 -07:00
Sarah Wooders
53920b08b1 fix: use default embedding (#4041)
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
2025-08-21 21:36:10 -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
223c883205 feat: Make embedding async (#4091) 2025-08-21 16:52:23 -07:00
Matthew Zhou
a2f4ca5f89 fix: Fix bugs with exporting/importing agents with files (#4089) 2025-08-21 16:23:37 -07:00
Matthew Zhou
a4cd4a9487 fix: Fix 0 indexing for offset (#4086) 2025-08-21 14:29:51 -07:00
Matthew Zhou
7ed6d1dbaa feat: Add endpoint to list files attached to an agent (#4082) 2025-08-21 13:57:39 -07:00
Charles Packer
86f7e2036d 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
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
Matthew Zhou
cbec520729 feat: Add basic test serialization tests (#4076) 2025-08-21 11:08:06 -07:00
Sarah Wooders
8a1f256c66 fix: add handling for summarizer llm call (#4028) 2025-08-20 16:25:02 -07:00
Matthew Zhou
8095d87df3 feat: Add tests for renaming files (#4066) 2025-08-20 16:23:03 -07:00
cthomas
395faf3ed8 feat: add prompt generator for on the fly system prompt generation (#4060) 2025-08-20 15:49:40 -07:00
cthomas
d0ddc5545c feat: add new xai llm client (#3936) 2025-08-20 15:49:09 -07:00
Matthew Zhou
dc8c6d8246 feat: Allow renaming files on upload (#4061) 2025-08-20 13:59:05 -07:00