Commit Graph

2066 Commits

Author SHA1 Message Date
Sarah Wooders
c0b422c4c6 fix: patch summarizer and add tests (#6457) 2025-12-15 12:02:19 -08:00
Charles Packer
e67c98eedb feat: add tests for prompt caching + fix anthropic prompt caching [LET-6373] (#6454)
* feat: add tests for prompt caching

* fix: add cache control breakpoints for anthropic + fix tests

* fix: silence logging

* fix: patch token counting error

* fix: same patch on non-streaming path
2025-12-15 12:02:19 -08:00
Sarah Wooders
e862bae524 feat: patch tool calling endpoint and add SDK testing (#6456) 2025-12-15 12:02:19 -08:00
Sarah Wooders
1939a9d185 feat: patch summarizer without changes to AgentState (#6450) 2025-12-15 12:02:19 -08:00
Charles Packer
131891e05f feat: add tracking of advanced usage data (eg caching) [LET-6372] (#6449)
* feat: init refactor

* feat: add helper code

* fix: missing file + test

* fix: just state/publish api
2025-12-15 12:02:19 -08:00
Sarah Wooders
807c5c18d9 feat: add gemini token counting [LET-6371] (#6444) 2025-12-15 12:02:19 -08:00
Sarah Wooders
c4d5c380d6 feat: pass in LETTA_TOOL_ID, LETTA_AGENT_ID, LETTA_PROJECT_ID into tool env (#6439) 2025-12-15 12:02:18 -08:00
Sarah Wooders
0a0cf391fc fix: fix client injection code (#6421) 2025-12-15 12:02:18 -08:00
cthomas
29349530d4 test: add sleep before agent deletion in test (#6412)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-11-26 14:39:40 -08:00
Ari Webb
d4e7428c98 feat: structured outputs for anthropic [LET-6232] (#6410)
feat: structured outputs for anthropic

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-26 14:39:40 -08:00
Shubham Naik
2ee1ff50dd Shub/let 6339 add endpoint for counting non hidden agents [LET-6339] (#6406)
* feat: add hidden agent count

* feat: add hidden agent count

* chore; hiddne agents

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-26 14:39:40 -08:00
cthomas
3a0bbe5495 feat: relax send message constraints for image test (#6408) 2025-11-26 14:39:40 -08:00
cthomas
db534836e4 feat: allow follow up user message for approvals LET-6272 (#6392)
* feat: allow follow up user message for approvals

* add tests
2025-11-26 14:39:40 -08:00
cthomas
85604988bd test: fix message range for non reasoners (#6402)
* test: fix message range for non reasoners

* skip streaming test temporarily

* only skip streaming for non-reasoners
2025-11-26 14:39:40 -08:00
Sarah Wooders
e349ba3bdd feat: support programmatic tool calling for custom tools [LET-6316] (#6369) 2025-11-26 14:39:40 -08:00
Ari Webb
3e02f12dfd feat: add tool embedding and search [LET-6333] (#6398)
* feat: add tool embedding and search

* fix ci

* add env variable for embedding tools

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-26 14:39:40 -08:00
cthomas
a101b6c4e9 feat: change default value for legacy put_inner_thoughts_in_kwargs (#6395)
* feat: change default value for legacy put_inner_thoughts_in_kwargs

* update default in validation layer
2025-11-26 14:39:39 -08:00
Ari Webb
89c7ab5f14 feat: structured outputs for openai [LET-6233] (#6363)
* first hack with test

* remove changes integration test

* Delete apps/core/tests/sdk_v1/integration/integration_test_send_message_v2.py

* add test

* remove comment

* stage and publish api

* deprecate base level response_schema

* add param to llm_config test

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-26 14:39:39 -08:00
Ari Webb
e39b2eb44f fix: message search ci test (#6388)
* fix: message search ci test

* fix cloud-api conditions

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-26 14:39:39 -08:00
cthomas
669ec19611 chore: remove legacy handling for alpha sdk in hitl tests (#6387) 2025-11-26 14:39:39 -08:00
Sarah Wooders
f7ade17c4a feat: support client injection for E2B (#6360) 2025-11-26 14:39:39 -08:00
cthomas
1d55a0f4c5 fix: use new agent loop in multi agent test (#6384)
* use new agent loop and cleanup stale agents

* fix: make multi agent use new agent loop

* remove migration
2025-11-26 14:39:39 -08:00
cthomas
8e9d85fcc7 test: fix legacy send message tests (#6382)
* test: fix legacy send message tests

* fix reasoner model test

* add hidden reasoning
2025-11-26 14:39:39 -08:00
cthomas
f6c21a9783 fix: sources api validatione error for 1.0 sdk (#6380) 2025-11-26 14:39:39 -08:00
cthomas
898c0ed83e test: cancellation edge case in test (#6379) 2025-11-26 14:39:39 -08:00
cthomas
b08309487c fix: relative path for data dir in test (#6376) 2025-11-26 14:39:39 -08:00
cthomas
e5bddab11c test: migrate cancellation test to 1.0 sdk [LET-6327] (#6375)
* test: migrate cancellation test to 1.0 sdk

* revert async change

* debug redis

* cleanup
2025-11-26 14:39:39 -08:00
cthomas
9cdaf4b5a8 test: migrate mcp_tests to 1.0 sdk [LET-6326] (#6374)
test: migrate mcp_tests to 1.0 sdk
2025-11-26 14:39:39 -08:00
cthomas
3efee41148 test: migration integration_test_mcp to use 1.0 sdk [LET-6325] (#6373)
test: migration integration_test_mcp to use 1.0 sdk
2025-11-26 14:39:39 -08:00
cthomas
09c1f7f1b3 feat: migrate search test to 1.0 sdk [LET-6321] (#6370)
* feat: migrate search test to 1.0 sdk

* fix import

* attempt to fix

* attempt 2
2025-11-26 14:39:39 -08:00
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
0ecf72567a test: migrate sources test to 1.0 sdk [LET-6317] (#6367)
* test: migrate sources test to 1.0 sdk

* fix dict attribute access
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
ce2ca8660b feat: add effort dropdown for claude 4.5 opus (backend) (#6351)
* feat: add effort support (backend)

* fix test_agent_state_schema_unchanged

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:10:27 -08:00
cthomas
e4fb00fef8 test: make hitl tests pass using v1 sdk LET-6312 (#6353)
test: make hitl tests pass using v1 sdk
2025-11-24 19:10:27 -08:00
Ari Webb
f9b405372d feat: add search routes [LET-6236] (#6280)
* claude code first pass

* rename routes

* search_messages and list_messages

* revert agents messagesearch

* generate api

* fix backend for list all messages

* request for message search

* return list of letta message

* add tests

* error in archive endpoint

* archive delete return type wrong

* optional params for archive creation

* add passage to tpuf on create

* fix archive manager

* support global passage search

* search by agent

* just do basic org wide search for now

* change message test to be about fresh data, cleanup after

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:10:27 -08:00
Ari Webb
cee3c7ed58 fix: don't embed system messages [LET-6243] (#6307)
don't embed system messages

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:10:26 -08:00
Ari Webb
d417870537 feat: parallel tool calling in model settings [LET-6239] (#6262)
* parallel tool calling in model settings

* configs for send message sdk v1

* change models for all tests

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:10:26 -08:00
cthomas
1be2f61f05 feat: add new letta error message stream response type (#6192) 2025-11-24 19:10:11 -08:00
cthomas
1d71468ab2 feat: don't yield tool return message back in hitl [LET-6012] (#6219)
feat: don't yield tool return message back in hitl
2025-11-24 19:10:11 -08:00
Sarah Wooders
ce3add4f55 feat: migrate integration tests to use model_settings (#6125)
* migration integration tests to use model_settings

* updated configs

* update v2 tests

* revert files

* add some configs and fix tests

* fix conversation_search

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:09:33 -08:00
Ari Webb
9bff8413a0 fix: fix gemini models reasoning [LET-6228] (#6245)
* fixed locally

* fix tests

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:09:33 -08:00
Ari Webb
7380eaec13 feat: enable gpt5.1 models [LET-6178] (#6175)
* hack at gpt51

* revert package lock

* first hack

* default context window

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:09:33 -08:00
Ari Webb
c79859f0b0 fix: fix send_message_v2 ci tests (#6240)
* fix send_message_v2

* revert send_message

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:09:33 -08:00
Ari Webb
699820cecd fix: managers test (#6232)
fix managers test

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:09:33 -08:00
Ari Webb
0884272d1c feat: make config for mcp_servers nested [LET-6098] (#6155) 2025-11-24 19:09:33 -08:00
Ari Webb
65a733d5dd fix: make attach/detach routes return None if sdk verion 1.0 (#6203)
* Revert "Revert "feat: make attach/detach routes return None if version is 1.0 [LET-5844]" (#6201)"

This reverts commit bb0d10725f5889306de61e1758f061d6c1041c52.

* fix type checking

* revert

* return state for blocks and sources

* func signatures

* create memgpt_agent for cloud-e2e-tests

* Revert "create memgpt_agent for cloud-e2e-tests"

This reverts commit f279e5897b0942b1006a5f8527713dd801064c63.

* fix

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:09:33 -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
Ari Webb
ec953d27c0 fix: double escape leads to exponential growth in backslash character [LET-6016] (#6087) 2025-11-24 19:09:33 -08:00
Copilot
2addd4eb0d Fix llm_model_configs committed to wrong directory (#6206)
* Initial plan

* Move llm_model_configs to correct location

Co-authored-by: kianjones9 <11655409+kianjones9@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kianjones9 <11655409+kianjones9@users.noreply.github.com>
2025-11-24 19:09:32 -08:00