Commit Graph

1853 Commits

Author SHA1 Message Date
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
Shubham Naik
568c42ab08 chore: update linter (#4897)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
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
Kian Jones
daa056d638 Kian/remove uv caching (#4903)
* remove enable cache

* trigger CI

* remove extra with paramters which I believe to be unecessary

* try installing uv manuallly to avoid post install step

* should be fixed by manually installing and not using the action

* remove comment to trigger
2025-10-07 17:50:46 -07:00
Kian Jones
bfc57149a9 chore: fix post install uv hanging indefinitely (#4896)
* remove enable cache

* trigger CI

* remove extra with paramters which I believe to be unecessary

* try installing uv manuallly to avoid post install step

* should be fixed by manually installing and not using the action
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
Sarah Wooders
f5627f7030 fix: patch test_managers.py (#4871) 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