Matthew Zhou
2fa546e15d
chore: Move environment to settings [LET-4080] ( #4265 )
...
Move environment to settings
2025-08-27 14:52:35 -07:00
Matthew Zhou
f8935282e1
fix: Fix a bunch of failing tests [LET-4065] ( #4249 )
...
* Finish fixing async loop for test_agent_serialization_v2
* Fix tests
* Remove rounding for sqlite
---------
Co-authored-by: Shubham Naik <shub@letta.com >
2025-08-27 12:48:03 -07:00
cthomas
84e493111b
feat: asyncify groups operations [LET-4068] ( #4254 )
...
feat: asyncify groups operations
2025-08-27 12:00:53 -07:00
cthomas
f7c07f65ef
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
cthomas
8b617c9e0d
fix: gemini flash integration test [LET-4060] ( #4242 )
...
* fix: gemini flash integration test
* also update google flash
* catch error in test
* revert test changes
* do try catch again
* remove try catch from streaming tests
* add try catch for summarize test also
2025-08-27 11:59:15 -07:00
cthomas
b4e5018841
fix: hugging face embedding test [LET-4064] ( #4246 )
...
* fix: hugging face embedding test
* openapi sync
2025-08-27 11:58:03 -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
Sarah Wooders
38c251b01b
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
Sarah Wooders
cba85c0251
chore: bump version to 0.11.6 ( #4235 )
...
bump version
2025-08-26 21:16:14 -07:00
Sarah Wooders
3b7506557a
fix: remove trace methods [LET-4059] ( #4232 )
...
remove trace methods
2025-08-26 20:47:09 -07:00
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