Commit Graph

67 Commits

Author SHA1 Message Date
cthomas
e272da068c test: make test_sdk_client compat with 1.0 [LET-6322] (#6371)
test: make test_sdk_client compat with 1.0
2025-11-26 14:39:39 -08:00
cthomas
7b0bd1cb13 feat: cutover repo to 1.0 sdk client LET-6256 (#6361)
feat: cutover repo to 1.0 sdk client
2025-11-24 19:11:18 -08:00
Ari Webb
b0f9986209 feat: make letta_v1_agent default [LET-6153] (#6115)
* agent change

* fix tests

* fix more tests

* memgpt_v2_agent for cloud-api tests

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:09:33 -08:00
Sarah Wooders
fd7c8193fe feat: remove chunking for archival memory [LET-6080] (#5997)
* feat: remove chunking for archival memory

* add error and tests
2025-11-13 15:36:55 -08:00
Sarah Wooders
e7fff12da0 feat: patch model listing to actually match handle [LET-5888] (#5754) 2025-11-13 15:35:34 -08:00
cthomas
7b2e7e2f4c feat: remove un-paginated message list on usage stats [LET-5747] (#5599)
feat: remove un-paginated message list on usage stats
2025-10-24 15:13:15 -07:00
Matthew Zhou
bbc3de5845 test: Add custom tests for streaming on test_sdk_client (#5315)
Add new test
2025-10-24 15:11:31 -07:00
cthomas
e5d364d043 fix: test sdk client fixtures (#4997)
* fix: test sdk client fixtures

* make server fixture not async
2025-10-07 17:50:47 -07:00
Sarah Wooders
354205f581 feat: create new runs table [LET-4467] (#4841) 2025-10-07 17:50:47 -07:00
Sarah Wooders
d0d36a4b07 fix: remove json schema generation from tool validation [LET-4509] (#4964)
* patch integration test

* create default user and org

* rm

* patch

* add testing

* remove validation for schemas from pydantic object

* add file

* patch tests

* fix more tests

* fix managers

* fix sdk test

* patch schema tests

* Comment out name in update

* patch test

* patch

* add another test
2025-10-07 17:50:46 -07:00
Matthew Zhou
d78e0ccb58 feat: Fix test batch sdkpy [LET-4507] (#4917)
* Fix test batch sdk

* Consolidate and fix test batch sdk
2025-10-07 17:50:46 -07:00
Kian Jones
b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00
Kian Jones
22f70ca07c chore: officially migrate to submodule (#4502)
* remove apps/core and apps/fern

* fix precommit

* add submodule updates in workflows

* submodule

* remove core tests

* update core revision

* Add submodules: true to all GitHub workflows

- Ensure all workflows can access git submodules
- Add submodules support to deployment, test, and CI workflows
- Fix YAML syntax issues in workflow files

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

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

* remove core-lint

* upgrade core with latest main of oss

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-09-09 12:45:53 -07:00
Matthew Zhou
af302e8ac8 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
9e20a76d2a feat: use datetime ranges for archival memory query (#4398) 2025-09-03 20:08:10 -07:00
Charles Packer
5f9210b808 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
35103b3a9f 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
b1f2e8b2bc 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
fecf6decfb 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
641eb0354f 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
58be205098 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
49bfd4fba0 fix: add timeout to test_sdk_client.py test (#4262) 2025-08-27 14:37:06 -07:00
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
Matthew Zhou
a07c47b5b3 fix: Fix bugs with exporting/importing agents with files (#4089) 2025-08-21 16:23:37 -07:00
Matthew Zhou
dcb689cbfa feat: Add basic test serialization tests (#4076) 2025-08-21 11:08:06 -07:00
Sarah Wooders
f4740b1388 chore: remove legacy embeddings (#3846) 2025-08-12 15:11:09 -07:00
Kevin Lin
bba9753e1c 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
47d8650f09 fix: Fix tool renaming if json schema is passed in (#3745) 2025-08-05 11:36:23 -07:00
Sarah Wooders
2823d1a84e feat: change default agent type to memgpt_v2_agent (#3624) 2025-07-31 16:14:13 -07:00
Matthew Zhou
cb04b877d6 docs: Add documentation and tests for multi function files (#3679) 2025-07-31 13:37:25 -07:00
Matthew Zhou
37fdecb433 feat: Improve tool renaming based on json schema (#3676) 2025-07-31 12:57:22 -07:00
Matthew Zhou
84b27d6a07 feat: Improve attach/detach missing file tools performance (#3486) 2025-07-22 15:35:42 -07:00
Matthew Zhou
5337c7a009 feat: Establish agent file schema v2 and achieve feature parity with v1 (#3235) 2025-07-16 14:49:20 -07:00
Matthew Zhou
9dc39ae651 feat: Make performance improvements to list agent tools (#3295) 2025-07-11 14:50:30 -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
Matthew Zhou
be1448e729 fix: Add comprehensive testing for tool creation paths (#3255) 2025-07-09 15:51:50 -07:00
Andy Li
32f2cf17b5 feat: expand summarizer providers 2025-07-01 15:07:38 -07:00
cthomas
99e112e486 feat: make create_async route consistent with other message routes (#2877) 2025-06-19 13:51:51 -07:00
Matthew Zhou
a3c054bc92 feat: Ungate file upload for simple MIME types even without Mistral API key (#2898) 2025-06-18 15:11:30 -07:00
Matthew Zhou
6e41aa4c2c feat: Upsert on list with no pagination (#2875) 2025-06-17 15:19:27 -07:00
Matthew Zhou
d41b4ab242 feat: Add callback_error and fix callback logic (#2842) 2025-06-16 13:23:03 -07:00
cthomas
1405464a1c feat: send stop reason in letta APIs (#2789) 2025-06-13 16:04:48 -07:00
Matthew Zhou
e9ee2b0766 feat: Add errors when tool call violates tool rules (#2766) 2025-06-11 17:12:39 -07:00
Sarah Wooders
3e6729214b feat: add include_return_message_types to LettaRequest to filter down requests (#2666) 2025-06-06 15:48:27 -07:00
Matthew Zhou
841aad48ae feat: Add file metadata processing status (#2665) 2025-06-06 11:11:39 -07:00
Kevin Lin
9951f73a7b 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
f6102e8a87 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
9fad8487db feat(asyncify): migrate sources to async (#2332) 2025-05-22 19:39:44 -07:00
Sarah Wooders
99b44ce62d chore: add a concept (and enforcement of) read-only blocks (#2161) 2025-05-13 20:54:52 -07:00