Commit Graph

54 Commits

Author SHA1 Message Date
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
Sarah Wooders
8a9af86e7c feat: use datetime ranges for archival memory query (#4398) 2025-09-03 20:08:10 -07:00
Charles Packer
aecb6e32d7 fix(core): update default value [LET-4117] (#4321)
* fix(core): update default value

* fix: just stage just publish

* fix(core): temporary hardcoding of the anthropic max tokens

* fix(core): patch the gemini
2025-08-29 16:42:19 -07:00
Matthew Zhou
83721679c6 test: Add test for archival tag compilation into system prompt [LET-4114] (#4312)
Add tests and thread created_at
2025-08-29 13:35:19 -07:00
Matthew Zhou
23b2769dc4 feat: Allow agent archival tools to insert/search with tags [LET-4072] (#4300)
* Finish modifying archival memory tools

* Add tags

* Add disabled test
2025-08-29 11:55:06 -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
Matthew Zhou
cf3423a21a feat: De-dupe tool rules [LET-4091] (#4282)
* Add hash/eqs for de-dupe

* Add sdk test
2025-08-28 12:43:32 -07:00
Sarah Wooders
b4fc7012cc chore: patch update tools (#4090)
* patch update tools

* update tool patch

* fallback to generation for legacy tools

* avoid re-parsing source if json schema exists

* fix more tests

* remove asssert

* fix

* update

* update

* update

* Fix tests

---------

Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-08-28 11:34:36 -07:00
cthomas
9f919cf925 fix: add timeout to test_sdk_client.py test (#4262) 2025-08-27 14:37:06 -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
Matthew Zhou
a2f4ca5f89 fix: Fix bugs with exporting/importing agents with files (#4089) 2025-08-21 16:23:37 -07:00
Matthew Zhou
cbec520729 feat: Add basic test serialization tests (#4076) 2025-08-21 11:08:06 -07:00
Sarah Wooders
20a857b900 chore: remove legacy embeddings (#3846) 2025-08-12 15:11:09 -07:00
Kevin Lin
e20f4eca92 fix: update default include_base_tool_rules to None (#3762)
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
2025-08-06 15:58:29 -07:00
Matthew Zhou
a170bd3f7b fix: Fix tool renaming if json schema is passed in (#3745) 2025-08-05 11:36:23 -07:00
Sarah Wooders
f3f7660fb1 feat: change default agent type to memgpt_v2_agent (#3624) 2025-07-31 16:14:13 -07:00
Matthew Zhou
f0324a2b0b docs: Add documentation and tests for multi function files (#3679) 2025-07-31 13:37:25 -07:00
Matthew Zhou
79dad6bcf7 feat: Improve tool renaming based on json schema (#3676) 2025-07-31 12:57:22 -07:00
Matthew Zhou
fa58214a99 feat: Improve attach/detach missing file tools performance (#3486) 2025-07-22 15:35:42 -07:00
Matthew Zhou
8958f266ad feat: Establish agent file schema v2 and achieve feature parity with v1 (#3235) 2025-07-16 14:49:20 -07:00
Matthew Zhou
452ed39e62 feat: Make performance improvements to list agent tools (#3295) 2025-07-11 14:50:30 -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
Matthew Zhou
fc07b2b2c2 fix: Add comprehensive testing for tool creation paths (#3255) 2025-07-09 15:51:50 -07:00
Andy Li
3654fa8c26 feat: expand summarizer providers 2025-07-01 15:07:38 -07:00
cthomas
a332b34830 feat: make create_async route consistent with other message routes (#2877) 2025-06-19 13:51:51 -07:00
Matthew Zhou
698d99a66e feat: Ungate file upload for simple MIME types even without Mistral API key (#2898) 2025-06-18 15:11:30 -07:00
Matthew Zhou
878b739532 feat: Upsert on list with no pagination (#2875) 2025-06-17 15:19:27 -07:00
Matthew Zhou
26089bee58 feat: Add callback_error and fix callback logic (#2842) 2025-06-16 13:23:03 -07:00
cthomas
97986b0f03 feat: send stop reason in letta APIs (#2789) 2025-06-13 16:04:48 -07:00
Matthew Zhou
d0c2ef89ea feat: Add errors when tool call violates tool rules (#2766) 2025-06-11 17:12:39 -07:00
Sarah Wooders
953ed5a610 feat: add include_return_message_types to LettaRequest to filter down requests (#2666) 2025-06-06 15:48:27 -07:00
Matthew Zhou
09ec9ffeea feat: Add file metadata processing status (#2665) 2025-06-06 11:11:39 -07:00
Kevin Lin
ed4b28f3e4 feat: Add files into agent context window on file upload (#1852)
Co-authored-by: Caren Thomas <carenthomas@gmail.com>
Co-authored-by: Matt Zhou <mattzh1314@gmail.com>
2025-05-29 18:19:23 -07:00
cthomas
1f94928957 fix: parse function response for async agent loop (#2411)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-05-24 09:26:48 -07:00
Sarah Wooders
1d2f8d86e9 feat(asyncify): migrate sources to async (#2332) 2025-05-22 19:39:44 -07:00
Sarah Wooders
d15e49808d chore: add a concept (and enforcement of) read-only blocks (#2161) 2025-05-13 20:54:52 -07:00
cthomas
923af54d0b chore: update sleeptime verbiage everywhere (#1867) 2025-04-23 17:01:07 -07:00
Sarah Wooders
626e5f62ca chore: add sleeptime example + better error handling + upgrade client SDK (#1809) 2025-04-21 00:09:50 -07:00
cthomas
5c750c2a91 feat: enable sleeptime agent creation (#1523) 2025-04-02 14:12:11 -07:00
cthomas
ec092f6940 fix: blocks list endpoint bug (#1421) 2025-03-26 17:05:28 -07:00
Matthew Zhou
2ca88f5f92 feat: Refactor letta tool execution to not require agent class (#1384) 2025-03-24 12:25:03 -07:00
cthomas
2be142d1b3 fix: update sdk tests with renamed functions (#1173) 2025-03-01 19:36:36 -08:00
cthomas
8fbe9043f7 fix: revert sandbox error message (#904) 2025-02-05 13:54:18 -08:00
Charles Packer
79b4974404 fix: patch error with unbound variable + monkeypatch unit test for function fail returns (#899) 2025-02-04 12:02:20 -08:00
cthomas
0bd605dfa7 chore: bump letta python sdk version to 0.1.23 (#817) 2025-01-28 16:24:29 -08:00
cthomas
5a71a2c346 chore: remove nested config in send requests (#813) 2025-01-28 14:58:53 -08:00
cthomas
92965bd69c fix: reasoning messages dropped for gpt-4 (#803) 2025-01-28 13:39:18 -08:00
Charles Packer
16e40dfdf7 fix: update letta-client used in unit tests (#787) 2025-01-26 16:50:55 -08:00
Charles Packer
a4ba688ea5 fix: hotfix patch tests (#772) 2025-01-24 15:12:02 -08:00