Commit Graph

1867 Commits

Author SHA1 Message Date
Matthew Zhou
df5c997da0 feat: Enable dynamic toggling of tool choice in v3 agent loop for OpenAI [LET-4564] (#5042)
* Add subsequent flag

* Finish integrating constrained/unconstrained toggling on v3 agent loop

* Update tests to run on v3

* Run lint
2025-10-07 17:50:47 -07:00
cthomas
c465da27e6 feat: always populate run id in letta message load (#5039) 2025-10-07 17:50:47 -07:00
cthomas
67f8e46619 feat: add run id to streamed messages (#5037) 2025-10-07 17:50:47 -07:00
cthomas
6255d59bba chore: sync api (#5038) 2025-10-07 17:50:47 -07:00
cthomas
f235dfb356 feat: add tool call test for new agent loop (#5034) 2025-10-07 17:50:47 -07:00
Matthew Zhou
d3c5d0c330 feat: Add missing import for SimpleOpenAIResponsesStreamingInterface (#5036)
Add missing import
2025-10-07 17:50:47 -07:00
Matthew Zhou
bc2218b0ca feat: Add should_force_tool_call to tool rule solver (#5032)
Add  to tool rule solver
2025-10-07 17:50:47 -07:00
cthomas
cd900a6f4d feat: check run completion in send message tests (#5030) 2025-10-07 17:50:47 -07:00
cthomas
2916095e86 feat: use assistant message in runs read path (#5026) 2025-10-07 17:50:47 -07:00
cthomas
2d36002fc5 feat: add background mode test for new agent loop (#5025) 2025-10-07 17:50:47 -07:00
cthomas
e248ac27e2 feat: add messages.create_async test for new agent loop (#5024)
feat: add async test for new agent loop
2025-10-07 17:50:47 -07:00
cthomas
2af3130be1 feat: add integration test for new agent loop (#5020) 2025-10-07 17:50:47 -07:00
cthomas
4304a2e2ef feat: integrate simple adapter for non-streaming letta v1 agent (#5017) 2025-10-07 17:50:47 -07:00
cthomas
74cf625f39 feat: add content var to base adapter (#5008) 2025-10-07 17:50:47 -07:00
cthomas
76d1bc8cbc feat: move new streaming adapters into own files (#5001) 2025-10-07 17:50:47 -07:00
Sarah Wooders
5502134e7a fix: don't override callback data if using temporal (#5004) 2025-10-07 17:50:47 -07:00
Kevin Lin
09d9c3ffd4 feat: anthropic tools for claude sonnet 4.5 (#4988)
* add anthropic memory tools

* memory view working

* update memory examples

* tools

* feat: some changes (#5003)

* feat: added the ability to modify and add descriptions on creation

* fix: kill dead code & write into core_tool_executor instead

* fix: use block_manager not agent_manager where possible, also turn the return string errors into raising exceptions

* fix: cleanup, get rid of more return string errors replaced with valueerror, also drop deadcode

---------

Co-authored-by: Charles Packer <packercharles@gmail.com>
2025-10-07 17:50:47 -07:00
cthomas
4173de955d test: add reasoning toggle tests for new agent type (#5000) 2025-10-07 17:50:47 -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
cthomas
845af12771 fix: remove circular imports handling for llm config (#4999) 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
Shubham Naik
c6ee549591 feat: support programmatic saving of templates via agentifle [PRO-1356] (#4965)
* feat: support programmatic saving of templates via agentifle

* feat: support programmatic saving of templates via agentifle

* chore: next

* chore: next

* chore: next

* chore: programmatic saving templates

* chore: programmatic saving templates

* chore: next

* chore: next

* chore: test

* chore: fix fast eq

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-10-07 17:50:46 -07:00
Charles Packer
1c7448eb9d fix: patch remaining failing send_message CI tests (#4974)
* fix: patch failing summarizer tests for anthropic claude 3.5

* fix: carveout for gemini-2.5-flash because it doesn't do the send_message tool call

* fix: deprecate old gemini test now that model is unavailable

* fix: deprecate old gemini test now that model is unavailable

* fix: deprecate old gemini test now that model is unavailable

* fix: patch flash flakiness

* fix: relax the gemini 2.5 flash test

* fix: relax the gemini 2.5 flash test

* fix: relax again

* fix: another flash fix

* fix: relax gpt-4o-mini

* fix: swap 4o-mini for 4.1

* fix: drop 4o-mini
2025-10-07 17:50:46 -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
Kian Jones
4bdf85b883 feat: pull letta env for sentry init (#4966)
set env on sentry init
2025-10-07 17:50:46 -07:00
Sarah Wooders
18abcc7025 feat: patch integration test for sandbox [LET-4509] (#4962)
* patch integration test

* create default user and org

* rm

* patch
2025-10-07 17:50:46 -07:00
Shubham Naik
1f281262d8 Shub/pro 911 change project to project slug [PRO-911] (#4938)
* chore: init

* chore: change project to project_id

* chore: update docs

* chore: fix types

* chore: fix type

* chore: next

* chore: fix

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-10-07 17:50:46 -07:00
Matthew Zhou
171f9b0b19 fix: Refactor reset messages async to reduce idle in transaction [LET-4529] (#4958)
* Reduce comments

* Move turbopuffer outside of reset messages
2025-10-07 17:50:46 -07:00
Matthew Zhou
b43193bf53 fix: Move turbopuffer logic out async db session [LET-4528] (#4957)
Move turbopuffer logic out async db session
2025-10-07 17:50:46 -07:00
Matthew Zhou
6d71a606aa test: Test archive manager thoroughly (#4955)
Test archive manager thoroughly
2025-10-07 17:50:46 -07:00
Charles Packer
9fd901c3a5 fix(core): patch default reasoning for letta-free on letta v1 (#4953)
* fix(core): patch default reasoning for letta-free on letta v1

* fix: patch (unrelated?) bug w/ missing required for empty tools like reset_research
2025-10-07 17:50:46 -07:00
Matthew Zhou
79b1287c06 test: Fix test agent tool graph (#4949)
* Fix agent tool graph tests

* Temp disable chat completions integration test
2025-10-07 17:50:46 -07:00
Sarah Wooders
b5de42fefd fix: patch summarizers for integration_test_send_message.py (#4919)
* fix: integration_test_send_message.py

* patch summarizer

* remove print
2025-10-07 17:50:46 -07:00
Matthew Zhou
155fa9c734 fix: Fix agent tool graph tests (#4948)
Fix agent tool graph tests
2025-10-07 17:50:46 -07:00
Matthew Zhou
b5053d02d5 fix: Fix multi agent test (#4947)
Fix multi agent
2025-10-07 17:50:46 -07:00
Charles Packer
81bf132712 fix: disable reasoning toggle when agent type is letta agent v1 [PRO-1346] (#4946)
* fix: change the backend logic for the reasoning toggle to be different for v1 vs old agent types, also change the frontend to disable toggling unless it's a toggle-able model

* fix: add more logic to when the reasoning switch is enabled or disabled

* fix: safety net in the backend to set config when undefined

* fix: disable prefix fill, it's a bug
2025-10-07 17:50:46 -07:00
Charles Packer
8da15aaf08 fix(core): patch issue where LLM may generate a 'noop' call [PRO-1340] (#4944)
fix(core): patch issue where LLM may generate a 'noop' call
2025-10-07 17:50:46 -07:00
Matthew Zhou
92f8144a07 feat: Remove unused get_files_agents_for_agents_async (#4929)
Remove unused
2025-10-07 17:50:46 -07:00
Matthew Zhou
c27e69ce6c fix: Fix mcp tests [LET-4496] (#4927)
Fix mcp tests
2025-10-07 17:50:46 -07:00
Matthew Zhou
a9b18cf67c chore: Remove test managers (#4926)
Remove test managers
2025-10-07 17:50:46 -07:00
Matthew Zhou
96deccc45d fix: Remove integration test summarizer (#4925)
Remove integration test summarizer
2025-10-07 17:50:46 -07:00
Matthew Zhou
0b08c4ed6a fix: Fix agents preview payload (#4924)
Fix agents endpoint
2025-10-07 17:50:46 -07:00
Matthew Zhou
26f94d567f fix: Fix batch api cron jobs (#4921)
Fix batch api cron jobs
2025-10-07 17:50:46 -07:00
Matthew Zhou
fa5415f0e3 fix: Fix test embeddings (#4920)
Fix test embeddings
2025-10-07 17:50:46 -07:00
Matthew Zhou
c31efe1517 fix: Fix test letta agent batch (#4918)
Test letta agent batch
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
Matthew Zhou
b0bc04fec7 fix: Patch batch routes (#4916)
Patch batch routes
2025-10-07 17:50:46 -07:00
Sarah Wooders
53786ee102 feat: asyncify test_manager.py [LET-4494] (#4890)
* add test_agent_manager.py

* created shared conftest

* add test_tool_manager.py

* add tag tests

* add message manager tests

* add blocks

* add org

* add passage tests

* add archive manager

* add user manager

* add identity

* add job manager tests

* add sandbox manager

* add file manager

* add group managers

* add mcp manager

* fix batch tests

* update workflows

* fix test_managers.py

* more tests

* comment out old test and add file

---------

Co-authored-by: Matthew Zhou <mattzh1314@gmail.com>
2025-10-07 17:50:46 -07:00
Matthew Zhou
3e2eba1b07 chore: Remove test composio (#4914)
Remove test composio
2025-10-07 17:50:46 -07:00
Matthew Zhou
ee0170e446 chore: Deprecate test_server (#4913)
Deprecate test_server
2025-10-07 17:50:46 -07:00