Commit Graph

6289 Commits

Author SHA1 Message Date
jnjpng
bd61ba85dd chore: update stainless mcp config (#5830)
* base

* try

* client no token

* session

* try tests

* fix mcp_servers_test

* remove deprecated test

* remove reference to mcp_serverS

* use fastmcp for mocking

* uncomment

---------

Co-authored-by: Letta Bot <noreply@letta.com>
Co-authored-by: Ari Webb <ari@letta.com>
Co-authored-by: Ari Webb <arijwebb@gmail.com>
2025-11-13 15:36:14 -08:00
Charles Packer
e4c864f5a5 docs: point to new leaderboard site (#5854) 2025-11-13 15:36:14 -08:00
Ari Webb
015a209f40 fix: prevent cross tenancy attaching sources
patch

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:36:14 -08:00
Kian Jones
ff5f8d9a85 fix: on error send (#5851)
on error send
2025-11-13 15:36:14 -08:00
Sarah Wooders
0c454d6eaf fix: patch unknown error type handling for agent (#5848) 2025-11-13 15:36:14 -08:00
Christina Tong
9524d7937c fix: add project id during run creation [LET-5960] (#5846) 2025-11-13 15:36:14 -08:00
Sarah Wooders
f61a4b8319 Revert "feat: add input data to pydantic validation error logging" (#5847)
Revert "feat: add input data to pydantic validation error logging (#5748)"

This reverts commit 0a61c0c2c1fa0e09867120af93f17ab6304a795f.
2025-11-13 15:36:14 -08:00
Sarah Wooders
24a14490d8 fix: add more error logging and tests for streaming LLM errors (#5844) 2025-11-13 15:36:14 -08:00
Sarah Wooders
29c4ed20eb fix: patch sleeptime integration test (#5845) 2025-11-13 15:36:14 -08:00
Kian Jones
0036976448 feat: add input data to pydantic validation error logging (#5748)
* idk letta coded lemme review in gh

* remove unused imports
2025-11-13 15:36:14 -08:00
Kevin Lin
f65eaa10c1 feat: Remove view from anthropic tool (#5832)
remove view from anthropic tool
2025-11-13 15:36:14 -08:00
Ari Webb
f699eda6c9 fix: add agent exists check [LET-5954] (#5823)
add agent exists check to prevent reading from different org

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:36:14 -08:00
Ari Webb
9d5fdc6de7 feat: migrate integration test mcp serverspy to use 1.0 client [LET-5945] (#5814)
* new test first hack, should still break

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:36:14 -08:00
Cameron
da2e8aee8c docs: move Human-in-the-Loop out of experimental section (#5828)
Moves Human-in-the-Loop documentation from the Experimental section
to the Tool Use section, as it is a stable feature for tool approval
workflows.

Changes:
- Moved Human-in-the-Loop page to Tool Use section after Tool Variables
- Removed from Experimental section in docs navigation
- Removed experimental warning from human_in_the_loop.mdx

Human-in-the-Loop is now positioned alongside other tool-related
features, making it easier for users to discover when implementing
tool approval workflows.

🐾 Generated with [Letta Code](https://letta.com)

Co-authored-by: Letta <noreply@letta.com>
2025-11-13 15:36:12 -08:00
jnjpng
4a35148a60 fix: duplicate LettaStreamingResponse in fern override (#5824)
base

Co-authored-by: Letta Bot <noreply@letta.com>
2025-11-13 15:36:08 -08:00
Shubham Naik
90091d8383 feat: allow templates to preserve agent reconcilation [LET-5935] (#5788)
* feat: allow templates to preserve agent reconcilation

* chore: udpate routes

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-13 15:36:08 -08:00
Ari Webb
66ccc1d4df chore: silence exa search failed [LET-5952] (#5815)
silence exa search failed

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:36:08 -08:00
Cameron
a75a825e60 docs: fix broken link to example prompts (#5813)
Fix broken link in prompts documentation that was pointing to
/prompts instead of /letta/prompts in the GitHub repository.

Reported by user feedback at docs.letta.com/prompts
2025-11-13 15:36:06 -08:00
jnjpng
a85abe71b7 feat: add streaming response type to messages stream for stainless [LET-5949] (#5807)
* base

* generate

* fix

* update

* done

* yaml

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-11-13 15:36:02 -08:00
Sarah Wooders
f37197f00d fix: undo recent changes to handle matching (#5808) 2025-11-13 15:36:02 -08:00
Sarah Wooders
655c9489d8 fix: re-raise the error and send [DONE] for known LLM errors in stream (#5805) 2025-11-13 15:36:02 -08:00
Sarah Wooders
7f128544d7 fix: patch handle matching for LLMs (#5801) 2025-11-13 15:36:02 -08:00
jnjpng
678167720f fix: toggle off stainless pagination for list endpoints that require id field [LET-5948] (#5804)
* base

* update stainless

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-11-13 15:36:02 -08:00
Ari Webb
0596a66c04 feat: new stainless sdk tests working locally [LET-5939] (#5793)
* new stainless sdk tests working locally

* Update conftest.py

* Update conftest.py

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:36:02 -08:00
Sarah Wooders
a566900533 chore: add back test_server.py (#5783) 2025-11-13 15:36:00 -08:00
Kian Jones
3f78c93be5 chore: add new primitive types and replace id_prefixes everywhere (#5749)
add new primitive types and replace id_prefixes everywhere
2025-11-13 15:35:41 -08:00
Kian Jones
f0de0b5812 feat: stainless sdk generation in CI [LET-5908] (#5768)
* letta coded

* migrate to stainless from fern

* revert core workflows

* fix if statement

* fix typo

* run on self-hosted ci runners

* add empty check

* change file

* fix upstream renaming and special character escaping

* fix letta-code with opus

* remove random client type import

* remove env localhost

* remove fialing tests

* ignore ts for now

* fix caching maybe

* tar.gz -> whl

* retain name metadata

* don't build on cache hit

* add sdk_v1 tests
2025-11-13 15:35:41 -08:00
Ari Webb
9cab61fe3f feat: create sdk_v1 test folder [LET-5937] (#5790)
create sdk_v1 test folder

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:35:41 -08:00
Charles Packer
c17a06ebb2 docs: pricing docs fix (#5791)
* fix: patch pricing

* fix: point out byok

* fix: updated

* fix: another boost
2025-11-13 15:35:39 -08:00
Kian Jones
60226ad203 fix: missing cursor kwargs (#5763)
* accept cursor logic

* add test
2025-11-13 15:35:34 -08:00
Kian Jones
1059452c11 fix: expect raise on detach to deleted agent (#5770)
just expect raise
2025-11-13 15:35:34 -08:00
Cameron Pfiffer
3672830684 docs: add archival memory export guide (#5784)
Add documentation page showing how to export all archival memories from an agent using the Letta SDK. Includes a complete Python script with pagination support and usage examples.
2025-11-13 15:35:34 -08:00
Ari Webb
5947e209c7 feat: generate json schema in generate-tool [LET-5901] (#5769)
* generate json schema

* delete commented try catch

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:35:34 -08:00
Ari Webb
f3a40a41f5 feat: updated backend to not allow minimal for codex [LET-5883] (#5760)
* updated backend

* add function in openai_client

* remove values before error

* remove test

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:35:34 -08:00
Shubham Naik
e3b0398aee Fix sync route for list messages for step (#5764)
* fix: list messages for step route

* fix: list messages for step route

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-13 15:35:34 -08:00
Sarah Wooders
e7fff12da0 feat: patch model listing to actually match handle [LET-5888] (#5754) 2025-11-13 15:35:34 -08:00
Christina Tong
042a32d371 feat: add project_id to internal runs endpoint [LET-5915] (#5761)
feat: add explicit project_id to internal runs endpoint [LET-5915]
2025-11-13 15:35:34 -08:00
Christina Tong
5fddf94ac3 fix: pagination broken in runs table [LET-5790] (#5759)
* fix: pagination broken in runs table [LET-5790]

* update pagination test

* fix test
2025-11-13 15:35:34 -08:00
Sarah Wooders
ecfaa0b353 fix: fix requirement for tool returns to be in message.content for openai/anthropic [LET-5893] (#5756)
fix: fix requirement for tool returns to be in message.content for openai and anthropic
2025-11-13 15:35:34 -08:00
cthomas
9118a7c236 fix: assistant msg not getting processed by sleeptime on letta v1 (#5751)
fix: assistant messages not getting processed by sleeptime agents on letta v1
2025-11-13 15:35:34 -08:00
cthomas
cd2fb0cd02 feat: add new internal capture endpoint (#5750) 2025-11-13 15:35:34 -08:00
Sarah Wooders
b15b04cec0 docs: add docs on rag tutorials (#5729) 2025-11-13 15:35:34 -08:00
Ari Webb
787740e3cb feat: deprecate shared_block_ids, and add groups, blocks [LET-4430] (#5746)
* deprecate field

* add detach/attach, verify user can do them

* just stage publish api

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-13 15:35:34 -08:00
Sarah Wooders
85ed29274c feat: clean up block return object [LET-5784] (#5641)
* fix: fix deep research agent

* chore: update blocks response

* add message

* update agents

* update

* use blockresponse

* undo merge conflict

* add internal agents and blocks

* remove unnecessary internal agent route

* fix utils server test

---------

Co-authored-by: christinatong01 <christina@letta.com>
2025-11-13 15:35:32 -08:00
cthomas
0ae3739af4 chore: bump version 0.13.0 (#3050) 2025-10-24 15:28:46 -07:00
Caren Thomas
13273b4ae0 bump version 2025-10-24 15:16:25 -07:00
Caren Thomas
0f60f67742 remove docs 2025-10-24 15:15:51 -07:00
cthomas
1848df2daa feat: add special approval request otid for openai streaming (#5744)
* feat: add special approval request otid for openai streaming

* fix import
2025-10-24 15:14:39 -07:00
cthomas
c67bdd9c64 fix: special approval message otid for gemini streaming (#5742) 2025-10-24 15:14:39 -07:00
Kian Jones
b05dd30bfc fix: resource cleanup on background tasks (#5738)
copy over Jake's PR from OSS
2025-10-24 15:14:39 -07:00