Commit Graph

314 Commits

Author SHA1 Message Date
Matthew Zhou
31587fb8c5 feat: Pin uvicorn to pre spawn (0.29.0) (#2837) 2025-09-11 12:43:35 -07:00
Kian Jones
60c9e3efad Merge branch 'main' into release-0.11.8-3 2025-09-09 09:23:31 -07:00
cthomas
5eca45cb56 chore: bump sdk client version (#4474) 2025-09-08 16:51:19 -07:00
Matthew Zhou
fb0e2d91a2 feat: Write tests for search messages [LET-4212] (#4447)
* Adjust naming

* Add testing and improve message search

* Adjust comments

* Change query text to query

* Fern autogen
2025-09-05 17:52:13 -07:00
cthomas
6029c80446 fix: approval request for streaming (#4445)
* fix: approval request for streaming

* fix: claude code attempt, unit test passing (add on to #4445) (#4448)

* fix: claude code attempt, unit test passing

* chore: update locks to 0.1.314 from 0.1.312

* chore: just stage-api && just publish-api

* chore: drop dead poetry lock

---------

Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-09-05 17:43:21 -07:00
Sarah Wooders
cf965bb469 chore: patch docker build 2025-09-05 12:31:34 -07:00
Sarah Wooders
8a9af86e7c feat: use datetime ranges for archival memory query (#4398) 2025-09-03 20:08:10 -07:00
Kian Jones
17c2783da9 chore: add back dependencies for desktop (#4409)
add back dependencies for desktop
2025-09-03 17:12:04 -07:00
Matthew Zhou
3126598720 feat: Change web search to exa [LET-4190] (#4401)
* Change web search to exa

* Fix tf/justfile

* add exa api key for integration test

* Mock exa

---------

Co-authored-by: Kian Jones <kian@letta.com>
2025-09-03 15:52:10 -07:00
Matthew Zhou
e6c9b4d708 feat: Add fetch webpage tool [LET-4188] (#4395)
* Add fetch webpage tool

* Use trafilatura for web extraction
2025-09-03 13:34:35 -07:00
cthomas
4face1530d chore: bump client version (#4327) 2025-08-29 17:25:22 -07:00
cthomas
cfc1947d90 feat: bump client versions with new human in the loop schemas [LET-4111] (#4322)
feat: bump client versions with new human in the loop schemas
2025-08-29 16:44:44 -07:00
Sarah Wooders
f383698654 chore: bump version 0.11.7 (#4306)
* bump version

* run just api
2025-08-29 12:59:02 -07:00
Kian Jones
ca6cfa5914 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
9e48f3675a feat: add unit test for backgrounds filter [LET-4051] (#4230)
feat: add unit test for backgrounds filter
2025-08-27 09:40:57 -07:00
Sarah Wooders
cba85c0251 chore: bump version to 0.11.6 (#4235)
bump version
2025-08-26 21:16:14 -07:00
Kian Jones
da14c6589f feat: finish uv migration (oss + desktop) (#4228)
* migrate desktop and add sqlite as a hard dependency in desktop

* migrate oss dockerfile as well
2025-08-26 20:32:27 -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
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
e63dedab7a feat: add retrieve stream testing (#4168) 2025-08-25 16:13:59 -07:00
cthomas
69c31babac chore: bump sdk client package version (#4154) 2025-08-25 09:58:11 -07:00
Sarah Wooders
4fa581cb1a chore: upgrade openai client (#3942) 2025-08-15 18:50:15 -07:00
Charles Packer
985ec7fb18 feat(desktop): allow specifying a remote letta server in the letta desktop (#3709) 2025-08-05 22:21:07 -07:00
Charles Packer
47debe7878 fix: patch desktop (#3707) 2025-08-02 12:31:51 -07:00
Sarah Wooders
a805427f8d chore: bump version to 0.10.0 (#3684) 2025-07-31 17:07:41 -07:00
Sarah Wooders
405c8a7c55 fix: only import modal if there is a key (#3668) 2025-07-30 19:04:15 -07:00
Matthew Zhou
06394b4821 feat: Add turbopuffer as dependency (#3655) 2025-07-30 11:37:48 -07:00
Andy Li
277c26a58e feat: modal sandbox 2025-07-30 11:25:40 -07:00
Kian Jones
9edb4f47d4 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
c4571c4ece chore: move around pgvector imports (#3609) 2025-07-29 17:12:00 -07:00
Andy Li
1a6dfa8668 feat: profiling middleware 2025-07-25 13:12:59 -07:00
Matthew Zhou
2b0cc0e9a1 fix: Fix open/close files tests and upgrade letta client (#3535) 2025-07-24 10:52:38 -07:00
Sarah Wooders
4b626e7a2c fix: upgrade letta-client version and patch folder paths (#3528) 2025-07-24 00:58:30 -07:00
Sarah Wooders
47ff96d179 chore: bump version 0.8.18 (#3501) 2025-07-23 20:20:26 -07:00
Andy Li
9cb030f279 chore: remove extra desktop python deps 2025-07-23 16:23:30 -07:00
Kian Jones
aace507b8f feat: Add support for vectors in SQLite (#3505) 2025-07-23 16:09:06 -07:00
Matthew Zhou
6020632afd chore: Rename agent file manager (#3496) 2025-07-22 17:40:12 -07:00
Sarah Wooders
5e9231095a 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
6debdeafba chore: default to uvloop 2025-07-18 12:48:36 -07:00
cthomas
7b7465382b feat: LET-3090 add sqlalchemy debug info to traces (#3401) 2025-07-17 22:17:48 -07:00
Kian Jones
f4659c9e01 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
156c9ad4e3 fix: Fix preview payload tests (#3266) 2025-07-09 19:21:17 -07:00
Matthew Zhou
ac508b0d52 feat: Add testing for dry run agent loop (#3265) 2025-07-09 18:57:53 -07:00
Andy Li
71dce4a297 fix: pinecone imports (#3240) 2025-07-09 10:44:15 -07:00
Sarah Wooders
5775d416a1 chore: bump version 0.8.10 (#3176) 2025-07-06 20:21:27 -07:00
Matthew Zhou
9605d1f79c feat: Add pinecone for cloud embedding (#3160) 2025-07-03 22:37:55 -07:00
Andy Li
006e9c9100 chore: poetry versioning (#3155) 2025-07-03 11:48:18 -07:00
cthomas
57e08e46d7 feat: add project id to letta client constructor (#3119) 2025-07-01 11:32:39 -07:00
Sarah Wooders
6edb6ec081 chore: bump version to 0.8.8 (#3097) 2025-06-29 12:10:56 -07:00
Andy Li
018facd624 fix: bugfixes (and bump) (#3071) 2025-06-27 14:23:42 -07:00