Commit Graph

6063 Commits

Author SHA1 Message Date
Matthew Zhou
25f140bd13 fix: Fix anthropic step parallel tool calling and add tests [LET-5438] (#5379)
* Fix anthropic step parallel tool calling and add tests

* Remove print statements
2025-10-24 15:11:31 -07:00
Shubham Naik
248c7c0b44 Chore remove deprecated routes (#5371)
* chore: remove deprecated routes

* chore: remove deprecated routes

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-10-24 15:11:31 -07:00
Matthew Zhou
b466cfdb1f fix: Fix parallel tool calling test for streaming (#5376)
Fix parallel tool calling test
2025-10-24 15:11:31 -07:00
Matthew Zhou
b205acf1f1 fix: Fix send message tests v2 (#5374)
Fix send message tests
2025-10-24 15:11:31 -07:00
Matthew Zhou
10a3d86507 test: Add basic parallel tool calling test to send_message v2 for anthropic [LET-5362] (#5355)
Add basic parallel tool calling test to send_message v2 for anthropic
2025-10-24 15:11:31 -07:00
Charles Packer
681f4903fd fix: patch regression from #5359 (#5363) 2025-10-24 15:11:31 -07:00
Charles Packer
07b9fc26a0 fix(core): patch the issue with the GET failing (tested) (#5362)
* fix: patch the issue with the GET failing (tested)

* fix(web): patch for the FE UI

* parse func_response

---------

Co-authored-by: Caren Thomas <carenthomas@gmail.com>
2025-10-24 15:11:31 -07:00
Sarah Wooders
3d887c7a13 chore: remove sentry for non-500 errors (#5359)
* chore: remove sentry for non-500 errors

* remove more filtering logic

---------

Co-authored-by: Kian Jones <kian@letta.com>
2025-10-24 15:11:31 -07:00
Shubham Naik
5af0c1535f feat: fix display name stuff (#5329)
* feat: fix display name stuff

* chore: fix types

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-10-24 15:11:31 -07:00
cthomas
128afeb587 feat: fix cancellation bugs and add testing (#5353) 2025-10-24 15:11:31 -07:00
Sarah Wooders
7ab44e61fa feat: patch anthropic token counting + build-in tokenizers [LET-5377] (#5354) 2025-10-24 15:11:31 -07:00
Shubham Naik
6a28f3852a Shub/let 4974 rename current to dev [LET-4974] (#5297)
* fix: rename current to dev

* chore: rename current to dev

* chore: next

* chore: rename fix

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-10-24 15:11:31 -07:00
jnjpng
31ba71de15 chore: skip invalid schema tool attach test (#5350)
skip

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-24 15:11:31 -07:00
jnjpng
5d153214c0 feat: allow invalid schema tools to be attached with warning (#5341)
* base

* allow attach

* display badge

* clean up

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-24 15:11:31 -07:00
Matthew Zhou
d826aceaf9 fix: Remove unuseful tool rules for v1 (#5345)
Remove unuseful tool rules for v1
2025-10-24 15:11:31 -07:00
Matthew Zhou
bb8a7889e0 feat: Add parallel tool call streaming for anthropic [LET-4601] (#5225)
* wip

* Fix parallel tool calling interface

* wip

* wip adapt using id field

* Integrate new multi tool return schemas into parallel tool calling

* Remove example script

* Reset changes to llm stream adapter since old agent loop should not enable parallel tool calling

* Clean up fallback logic for extracting tool calls

* Remove redundant check

* Simplify logic

* Clean up logic in handle ai response

* Fix tests

* Write anthropic dict conversion to be back compatible

* wip

* Double write tool call id for legacy reasons

* Fix override args failures

* Patch for approvals

* Revert comments

* Remove extraneous prints
2025-10-24 15:11:31 -07:00
Matthew Zhou
1c285f5170 fix: Fix system init messages and anthropic parsing [LET-5385] (#5339)
* Fix system init messages and anthropic parsing

* Add backwards compat tool call id adding
2025-10-24 15:11:31 -07:00
cthomas
fe91987749 feat: extend approvals validation to parallel tool calling (#5333) 2025-10-24 15:11:31 -07:00
cthomas
651c55dc2a feat: add approvals support in agentfile (#5337) 2025-10-24 15:11:31 -07:00
cthomas
1353bcd524 fix: patch lettuce bug (#5335) 2025-10-24 15:11:31 -07:00
Kian Jones
c2e474e03a feat: refactor logs to parse as a single log line each and filter out 404s from sentry (#5242)
* add multiline log auto detect

* implement logger.exception()

* filter out 404

* remove potentially problematic changes
2025-10-24 15:11:31 -07:00
cthomas
a7718ccdad chore: remove inline imports for letta tool return (#5328) 2025-10-24 15:11:31 -07:00
cthomas
3128b5e126 feat: add client side tool calling support (#5313) 2025-10-24 15:11:31 -07:00
cthomas
f79a47dbc1 feat: amend union type for message object (#5326) 2025-10-24 15:11:31 -07:00
cthomas
94c6e0f91c feat: gate out hitl for async (#5320)
* feat: gate out hitl for async

* add import
2025-10-24 15:11:31 -07:00
cthomas
6fd6232992 feat: add discriminator type to message return objects (#5318) 2025-10-24 15:11:31 -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
Matthew Zhou
b06619c290 feat: Return nested tool returns (#5305)
* Adapt to support multiple tool returns

* remove unused create_tool_return_message

* Add explanation to otid index

* Simplify explicit tool returns

* Simplify function return to only return single object
2025-10-24 15:11:31 -07:00
cthomas
207ef28fd9 fix: serialized approvals (#5312) 2025-10-24 15:11:31 -07:00
cthomas
31772b1fa1 chore: api sync (#5311) 2025-10-24 15:11:31 -07:00
cthomas
1c80e1c11f feat: add approvals persistence to message orm (#5309)
* feat: add approvals persistence to message orm

* fix imports in alembic migration

* missing import
2025-10-24 15:11:31 -07:00
cthomas
8e54f40bde feat: add new ApprovalReturn list in api layer (#5304)
* feat: add new ApprovalReturn list in api layer

* use base class

* api sync
2025-10-24 15:11:31 -07:00
jnjpng
b3fef4b5a8 feat: double write to all encrypted columns and decrypt on read (#5265)
* base

* use secret field

* fix

* auth code

* stage publish

* decouple backfill

* revert uncomment

* providers and agent vars

* mcp

* mcp

* stage and publish

* fix oauth

* double encrypt

* sandbox

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-24 15:11:31 -07:00
Sarah Wooders
216151a313 feat: add runs_metrics table (#5169) 2025-10-24 15:11:29 -07:00
Kian Jones
e58c76124a fix: refactor into common uri parsing logic, fix test, and fix compose file (#5261)
refactor into common uri parsing logic, fix test, and fix compose file
2025-10-24 15:10:35 -07:00
cthomas
d3888e0961 fix: filter our summary messages bricking hitl (#5250) 2025-10-24 15:10:10 -07:00
Matthew Zhou
7e2b175276 fix: Remove requirement for tool returns [LET-4715] (#5254)
* Keep legacy functionality

* Refactor for cleanliness
2025-10-24 15:09:30 -07:00
cthomas
f023dea1ea feat: filter nulls for token counter (#5247) 2025-10-24 15:09:22 -07:00
Kian Jones
6473758c2a 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-24 15:08:38 -07:00
Ari Webb
4a753c1955 feat: add haiku 4.5 as reasoning model (#3038)
Co-authored-by: Ari Webb <ari@letta.com>
2025-10-15 14:49:21 -07:00
cthomas
3a34d4e89b chore: clean up docs (#3031) 2025-10-09 18:22:45 -07:00
Caren Thomas
4e1c1c9079 chore: clean up docs 2025-10-09 17:45:05 -07:00
cthomas
dbebadf2cf chore: bump version 0.12.1 (#3029) 2025-10-09 15:39:15 -07:00
Caren Thomas
0481b490ac chore: bump version 0.12.1 2025-10-09 15:29:23 -07:00
cthomas
54aa7b463d chore: fix summarization and open router bug (#3028) 2025-10-09 15:27:33 -07:00
Sarah Wooders
1edb21a652 feat: add letta_agent_v1 flag for docker image and some patches (#5081)
* feat: add letta_agent_v1 flag for docker image and some patches

* update build
2025-10-09 15:25:21 -07:00
cthomas
a1e771877d feat: add model name patch for openrouter (#5303)
* feat: add model name patch for openrouter

* add comment
2025-10-09 15:25:21 -07:00
Matthew Zhou
7511b0f4fe feat: Write anthropic streaming interface that supports parallel tool calling [LET-5355] (#5295)
Write anthropic streaming interface that supports parallel tool calling
2025-10-09 15:25:21 -07:00
jnjpng
a772bedfe4 feat: add secret pydantic fields (#5291)
* add secret pydantic fields

* stage publish

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-09 15:25:21 -07:00
cthomas
d4bdb8279e chore: add various fixes (#3026) 2025-10-09 13:29:42 -07:00