Commit Graph

131 Commits

Author SHA1 Message Date
Andy Li
ff718d8c40 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
Kian Jones
82495b68a3 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
6c59bc8dea feat: add retrieve stream testing (#4168) 2025-08-25 16:13:59 -07:00
cthomas
6a444e28f0 chore: bump sdk client package version (#4154) 2025-08-25 09:58:11 -07:00
Sarah Wooders
c593121bab chore: upgrade openai client (#3942) 2025-08-15 18:50:15 -07:00
Charles Packer
bd56635ba9 feat(desktop): allow specifying a remote letta server in the letta desktop (#3709) 2025-08-05 22:21:07 -07:00
Charles Packer
e5e8666bc2 fix: patch desktop (#3707) 2025-08-02 12:31:51 -07:00
Sarah Wooders
a07798c24c chore: bump version to 0.10.0 (#3684) 2025-07-31 17:07:41 -07:00
Sarah Wooders
02507dd356 fix: only import modal if there is a key (#3668) 2025-07-30 19:04:15 -07:00
Matthew Zhou
3ad790b642 feat: Add turbopuffer as dependency (#3655) 2025-07-30 11:37:48 -07:00
Andy Li
73e74270f4 feat: modal sandbox 2025-07-30 11:25:40 -07:00
Kian Jones
1df22d0c71 fix(desktop): Make Desktop Great Again! (#3537)
Co-authored-by: Charles Packer <packercharles@gmail.com>
Co-authored-by: Kian Jones <kian@Kians-MacBook-Pro.local>
2025-07-30 10:17:35 -07:00
Sarah Wooders
2224dc5f23 chore: move around pgvector imports (#3609) 2025-07-29 17:12:00 -07:00
Andy Li
fe2e525ac9 feat: profiling middleware 2025-07-25 13:12:59 -07:00
Matthew Zhou
32bdbe6b2a fix: Fix open/close files tests and upgrade letta client (#3535) 2025-07-24 10:52:38 -07:00
Sarah Wooders
d29d5a9fd1 fix: upgrade letta-client version and patch folder paths (#3528) 2025-07-24 00:58:30 -07:00
Sarah Wooders
738ca7bbbf chore: bump version 0.8.18 (#3501) 2025-07-23 20:20:26 -07:00
Andy Li
0516e6e5d9 chore: remove extra desktop python deps 2025-07-23 16:23:30 -07:00
Kian Jones
ae19e6b088 feat: Add support for vectors in SQLite (#3505) 2025-07-23 16:09:06 -07:00
Matthew Zhou
5e3ce9b895 chore: Rename agent file manager (#3496) 2025-07-22 17:40:12 -07:00
Sarah Wooders
f2495ce727 feat: support markitdown instead of mistral (#3451)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-07-22 09:58:18 -07:00
Andy Li
c08425b4fe chore: default to uvloop 2025-07-18 12:48:36 -07:00
cthomas
fd835492d8 feat: LET-3090 add sqlalchemy debug info to traces (#3401) 2025-07-17 22:17:48 -07:00
Kian Jones
0cd8c830c9 feat(sqlite): CI Tests for Alembic and SQLite (#3358)
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-07-17 18:04:13 -07:00
Matthew Zhou
7e90a72968 fix: Fix preview payload tests (#3266) 2025-07-09 19:21:17 -07:00
Matthew Zhou
42b72ccfb0 feat: Add testing for dry run agent loop (#3265) 2025-07-09 18:57:53 -07:00
Andy Li
83dfd3fd62 fix: pinecone imports (#3240) 2025-07-09 10:44:15 -07:00
Sarah Wooders
3b6c4557cc chore: bump version 0.8.10 (#3176) 2025-07-06 20:21:27 -07:00
Matthew Zhou
954675396f feat: Add pinecone for cloud embedding (#3160) 2025-07-03 22:37:55 -07:00
Andy Li
967f750c2f chore: poetry versioning (#3155) 2025-07-03 11:48:18 -07:00
cthomas
f7d4f177c4 feat: add project id to letta client constructor (#3119) 2025-07-01 11:32:39 -07:00
Sarah Wooders
6c5988fe8e chore: bump version to 0.8.8 (#3097) 2025-06-29 12:10:56 -07:00
Andy Li
98a79afbdd fix: bugfixes (and bump) (#3071) 2025-06-27 14:23:42 -07:00
Andy Li
9ab0a24299 feat: redis caching for passages (#3003) 2025-06-25 17:26:45 -07:00
Matthew Zhou
d8343ba51f feat: Adjust upload files to return FileMetadata instead of job (#3031) 2025-06-25 15:26:35 -07:00
Sarah Wooders
0394c4e6f0 chore: bump version 0.8.6 and upgrade packages (#2995) 2025-06-24 15:54:10 -07:00
Kian Jones
6ba33a3466 feat(model-sweep): list all models and determine their level of support on Letta (#2743)
Co-authored-by: cthomas <caren@letta.com>
2025-06-19 14:45:17 -07:00
cthomas
56493de971 feat: add bedrock client (#2913) 2025-06-19 12:07:00 -07:00
Matthew Zhou
d991d37b04 feat: Add built in firecrawl search tool (#2858) 2025-06-17 01:16:39 -07:00
Matthew Zhou
d41b4ab242 feat: Add callback_error and fix callback logic (#2842) 2025-06-16 13:23:03 -07:00
jnjpng
6efbc56e3b feat: add token column to mcp_servers and pipe through to sse server config (#2775)
Co-authored-by: Jin Peng <jinjpeng@Jins-MacBook-Pro.local>
2025-06-14 18:48:10 -07:00
Andy Li
dd5581a72a chore: workflow consolidatation and fern caching for tests on pr (#2787) 2025-06-13 12:33:53 -07:00
cthomas
5c70d83689 feat: bump letta client version (#2759) 2025-06-11 13:39:02 -07:00
Shangyin Tan
b8a0651578 feat: add max_steps as argument to messages.create (#2664)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-06-09 16:54:48 -07:00
Matthew Zhou
a155d9bdd5 feat: Implement grep tool (#2694) 2025-06-06 17:36:49 -07:00
Andy Li
eaf5682422 feat: plugin system and backend runtime flags (#2543) 2025-06-05 18:12:44 -07:00
Matthew Zhou
bbdfc3f2cd feat: Add support for simple text files (#2630) 2025-06-04 14:36:25 -07:00
Andy Li
2e0bc916a1 feat: support for uvloop and granian (#2542) 2025-06-03 15:42:45 -07:00
Matthew Zhou
aaf06174f8 feat: Add mistral for cloud document parsing (#2562) 2025-05-30 21:06:28 -07:00
Matthew Zhou
ad6e446849 feat: Asyncify insert archival memories (#2430)
Co-authored-by: Caren Thomas <carenthomas@gmail.com>
2025-05-25 22:28:35 -07:00