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
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
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
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
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
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
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
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
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
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
0b08c4ed6a
fix: Fix agents preview payload ( #4924 )
...
Fix agents endpoint
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
462d37813e
chore: Deprecate agent file v1 related things [LET-4500] ( #4902 )
...
Deprecate agent file v1 related things
2025-10-07 17:50:46 -07:00
Charles Packer
a4041879a4
feat: add new agent loop (squash rebase of OSS PR) ( #4815 )
...
* feat: squash rebase of OSS PR
* fix: revert changes that weren't on manual rebase
* fix: caught another one
* fix: disable force
* chore: drop print
* fix: just stage-api && just publish-api
* fix: make agent_type consistently an arg in the client
* fix: patch multi-modal support
* chore: put in todo stub
* fix: disable hardcoding for tests
* fix: patch validate agent sync (#4882 )
patch validate agent sync
* fix: strip bad merge diff
* fix: revert unrelated diff
* fix: react_v2 naming -> letta_v1 naming
* fix: strip bad merge
---------
Co-authored-by: Kevin Lin <klin5061@gmail.com >
2025-10-07 17:50:45 -07:00
Charles Packer
9edc7f4d64
feat: add OpenRouterProvider ( #4848 )
...
* feat: init add of openrouter provider, doesn't work bc no key pass and no header pass
* fix: working
2025-10-07 17:50:45 -07:00
Sarah Wooders
8fee5b4b93
fix: remove db locks ( #4879 )
2025-10-07 17:50:45 -07:00
Sarah Wooders
3b9d59d618
chore: revent db_max_concurrent_sessions ( #4878 )
2025-10-07 17:50:45 -07:00
Sarah Wooders
4df0a27eb0
chore: remove sync db ( #4873 )
2025-10-07 17:50:45 -07:00
Matthew Zhou
0ced006375
chore: set db_max_concurrent_sessions default to 48 ( #4876 )
...
set default to 48
2025-10-07 17:50:45 -07:00
Matthew Zhou
a15345c67c
fix: Change model validator to before on Block limit ( #4867 )
...
* Change model validator to before
* Revert experimental dependencies
2025-10-07 17:50:45 -07:00
Matthew Zhou
8b580c94f0
fix: Asyncify runs routes [LET-4491] ( #4869 )
...
Asyncify runs routes
2025-10-07 17:50:45 -07:00
Matthew Zhou
b27dec5ca5
chore: Bump pg pool timeout ( #4870 )
...
Bump pg pool timeout
2025-10-07 17:50:45 -07:00
Matthew Zhou
16d666a434
fix: Fix create_job_async ( #4868 )
...
Fix
2025-10-07 17:50:45 -07:00
Charles Packer
c33c7a98a9
fix(core): patch agentfile export bug (broken when >50 total messages) [LET-4469] ( #4863 )
...
* fix(core): patch agentfile export bug
* fix: address matt comment
2025-10-07 17:50:45 -07:00
Charles Packer
809956d1aa
fix(core): patch bug in the broadcast multi-agent tool where we were not properly awating returns [LET-4484] ( #4866 )
...
fix(core): patch bug in the broadcast multi-agent tool where we were not await-ing the responses to return them properly
2025-10-07 17:50:45 -07:00
Matthew Zhou
8395ec429a
feat: Add flag for TLS ( #4865 )
...
Add flag for TLS
2025-10-07 17:50:45 -07:00
Charles Packer
d748d86059
feat: add more indexes ( #4849 )
2025-10-07 17:50:45 -07:00
cthomas
bc8223a13b
feat: allow partial for step metrics creation ( #4846 )
2025-10-07 17:50:45 -07:00
cthomas
a9a4cb6ce1
fix: move read inside session ( #4845 )
2025-10-07 17:50:45 -07:00