Commit Graph

3279 Commits

Author SHA1 Message Date
Kian Jones
45c4dbd5e8 chore(ci): Add uv support and use for unit tests (#4127)
* cherrypick just relevant commits?

* make work with poetry

* update poetry?

* regen?

* change tests and dev to dependency groups instead of optional extras

* Fix Poetry/UV compatibility issues

- Fix sqlite-vec dependency: Remove optional flag from Poetry section to match main deps
- Regenerate poetry.lock to sync with pyproject.toml changes
- Test both package managers successfully:
  - Poetry: `poetry install --with dev --with test -E postgres -E external-tools -E cloud-tool-sandbox`
  - UV: `uv sync --group dev --group test --extra postgres --extra external-tools --extra cloud-tool-sandbox`

Resolves Poetry lock sync errors and ensures sqlite-vec is available for tests.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* more robust pip install

* Fix fern SDK wheel installation in CI workflow

Replace unreliable command substitution with proper error handling:
- Check if directory exists before attempting to find wheels
- Store wheel file path in variable to avoid empty arguments
- Provide clear error messages when directory/wheels are missing
- Prevents "required arguments were not provided" error in uv pip install

Fixes: error: the following required arguments were not provided: <PACKAGE>

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* debugging

* trigger CI

* ls

* revert whl installation to -e

* programmatic HIT version insertion

* version templating properly

* set var properly

* labelling

* remove version insertion

* ?

* try using sed '2r /dev/stdin'

* version

* try again smh

* not trigger on poetry version

* only add once

* filter only for project not poetry

* hand re-construct the file

* save tail?

* fix docker command

* please please please

* rename test -> tests

* update poetry and rename group to -E

* move async into tests extra and regen lock files and add sqlite extra

* remove loading cached venv from cloud api integration

* add uv dependency to CI runners

* test removing the custom event loop

* regen poetry.lock and try to fix async tests

* wrap async pg exception and event loop tweak in plugins

* remove event loop from plugins test and remove caching from cloud-api-integration-test

* migrate all tests away from event loop for pytest-asyncio

* pin firecrawl

* pin e2b

* take claude's suggestion

* deeper down the claude rabbit hole

* increase timeout for httpbin.org

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-08-26 11:51:31 -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
Sarah Wooders
42e82fcc9e feat: add unit tests for embeddings (#4108)
Co-authored-by: Kian Jones <kian@letta.com>
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com>
2025-08-25 13:37:41 -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
0fa8802834 feat: add redis client to CI for background mode tests (#4155) 2025-08-25 11:37:46 -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
69c31babac chore: bump sdk client package version (#4154) 2025-08-25 09:58:11 -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
jnjpng
c47473c93d fix: update mcp tool schema validation test
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-08-21 13:43:04 -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
Kian Jones
2b3c1f029d fix(ci): redo agentfile upload util and tweak secret (#4033) 2025-08-20 15:37:06 -07:00
Matthew Zhou
dc8c6d8246 feat: Allow renaming files on upload (#4061) 2025-08-20 13:59:05 -07:00
Matthew Zhou
df5d287acb fix: Fix letta-free embeddings (#4055) 2025-08-20 13:33:31 -07:00
Matthew Zhou
dc6145f6f2 feat: Add refresh functionality for files (#4053) 2025-08-20 13:17:59 -07:00
Kian Jones
74ffa2d60e fix(ci): test_managers missing uuid import (#4049) 2025-08-20 11:52:43 -07:00