Commit Graph

6949 Commits

Author SHA1 Message Date
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
Devansh Jain
056a293bfa chore: Update leaderboard table (#5728)
* update leaderboard pointer

* use raw yaml

* update cost cap
2025-10-24 15:14:37 -07:00
jnjpng
949320ab25 chore: add order_by param to list archives [LET-5839] (#5734)
* base

* generatE

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-24 15:14:31 -07:00
Ari Webb
d558084703 feat: make some routes return none for sdk v1 [LET-5831] (#5724)
just the easy ones

Co-authored-by: Ari Webb <ari@letta.com>
2025-10-24 15:14:31 -07:00
cthomas
6b37ef2cb7 fix: special otid handling for approval request (#5726) 2025-10-24 15:14:31 -07:00
Kian Jones
704d3b2d79 chore: refactor not to use warnings.warn (#5730)
* refactor not to use warnings.warn

* temp circular import fix maybe unecessary/bnad

* fix Deprecation warning

* fix deprecation warning and mcp thing?

* revert changes to mcp server test

* fix deprecation warning
2025-10-24 15:14:31 -07:00
Kian Jones
c4c9d12f42 fix: hotfix hardcode context windows to prevent gemini model listing rate limiting (#5731)
hotfix lol
2025-10-24 15:14:31 -07:00
Kian Jones
009cd05cce chore: migrate server to logger (#5725)
make server use logger
2025-10-24 15:14:31 -07:00
jnjpng
6e2c002af3 feat: add stainless pagination for top level arrays with order by [LET-5800] (#5687)
* base

* revert openapi

* union

* simplify

* stainless

* stainless

* fix

* fix test

* generate

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-24 15:14:31 -07:00
Cameron Pfiffer
1d4a6e548d docs: improve Examples & Tutorials page (#5723)
docs: improve Examples & Tutorials page with better organization and content

- Reorganize page into clear sections: Getting Started, Ready-to-Deploy, Multi-Agent, Tools & Integrations, SDK Examples, Community Projects, Learning Resources
- Add more examples from Awesome Letta including CharacterAI clone, Deep Research Agent, DuckDB Agent, and various integrations
- Add helpful Info box pointing to Quickstart, DeepLearning.AI Course, and Awesome Letta
- Improve card descriptions to be more informative and action-oriented
- Update title from "Letta Cookbooks" to "Examples & Tutorials" for clarity
- Fix internal tutorial links to use correct /examples/ and /cookbooks/ paths
- Better connect page to rest of documentation and community resources
2025-10-24 15:14:30 -07:00
Cameron Pfiffer
70e60e3f2f docs: wrap TypeScript complete examples in async functions (#5722)
* docs: wrap TypeScript complete examples in async functions for copy-paste compatibility

* docs: fix blocks.attach to pass blockId directly instead of object

* docs: fix blocks.attach in shared-memory-blocks tutorial

* docs: add timeout configuration for web search examples
2025-10-24 15:14:21 -07:00
jnjpng
d09f321af7 fix: before and after pagination comparison based off order [LET-5833] (#5712)
base

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-24 15:14:21 -07:00
Cameron Pfiffer
6f183aba8e docs: add PDF chat tutorial (#5715)
* docs: add PDF chat tutorial with correct shell syntax

* docs: add PDF chat tutorial to navigation

* docs: add requests dependency for Python in pdf_chat tutorial

* docs: wrap TypeScript example in async function to fix top-level await error

* docs: add error handling for existing folders in pdf_chat tutorial

* docs: fix folders.list() to use response.folders property

* docs: await PDF download completion to fix race condition

* docs: use retrieve_by_name API for proper folder existence handling

* docs: fix upload API to use single request object and file stream

* docs: fix upload to use folderId as first parameter

* docs: simplify upload to use file stream directly

* docs: use three-parameter upload signature (folderId, file, options)

* docs: fix upload parameter order to (file, folderId, options)

* docs: fix attach to pass folderId directly instead of object
2025-10-24 15:14:21 -07:00
Kian Jones
161c70f11c chore: add logger calls instead of prints (#5720)
add logger calls instead of prints
2025-10-24 15:14:21 -07:00
Matthew Zhou
e7e86124f9 feat: Support embedding config on the archive [LET-5832] (#5714)
* Add embedding config field to archives

* Fix alembic script

* Simplify archive manager

* Fern autogen

* Fix failing tests

* Fix alembic
2025-10-24 15:14:21 -07:00
Ari Webb
c7c0d7507c feat: add new mcp_servers routes [LET-4321] (#5675)
---------

Co-authored-by: Ari Webb <ari@letta.com>
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
2025-10-24 15:14:21 -07:00
Ari Webb
272f055b4a feat: attach/detach identities route on blocks and agents, move archives attach/detach routes to agents [LET-4428] (#5708)
* deprecate ids for identity endpoints in favor of attach

* move archive attach/detach to agent

* new identities routes

* overrides for path

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-10-24 15:14:20 -07:00
Kian Jones
705bb9d958 fix: support default empty (#5713)
support default empty
2025-10-24 15:14:20 -07:00
Matthew Zhou
69343bf5f2 feat: Add delete endpoint [LET-4400] (#5711)
* Add delete endpoint

* Fern autogen
2025-10-24 15:14:20 -07:00
Kian Jones
1577a261d8 feat: add profiling and structured logging (#5690)
* test dd build

* dd agent in cluster

* quick poc

* refactor and add logging

* remove tracing etc.

* add changes to otel logging config

* refactor to accept my feedback

* finishing touches
2025-10-24 15:14:20 -07:00
Christina Tong
8872a3b954 chore: add context_window_limit and max_tokens to UpdateAgent [LET-3743] [LET-3741] (#5710)
* chore: add context_window_limit and max_tokens to update agent [LET-3743]

* add generated sdk docs

* simplify comment
2025-10-24 15:14:20 -07:00
cthomas
4823416af9 feat: default unpack assistant message content [LET-5404] (#5707)
feat: default unpack assistant message content
2025-10-24 15:14:20 -07:00
Ari Webb
6b5c3a7130 feat: list_agents_for_archive endpoint [LET-4407] (#5684)
* list_archives_for_agent

* use pattern from blocks instead

* use new parameter include

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-10-24 15:14:20 -07:00
cthomas
e418d7c5bd fix: error handling in agent stream (#5703) 2025-10-24 15:14:20 -07:00
cthomas
899f70661c feat: add openai-style include param for agents relationship loading [LET-5820] (#5681)
feat: add include param to routes with version check
2025-10-24 15:14:20 -07:00
cthomas
875908cb44 feat: add include param to all backend list agents helpers (#5699) 2025-10-24 15:14:20 -07:00
cthomas
01f9194711 feat: downgrade agent loop log level (#5701) 2025-10-24 15:14:20 -07:00
cthomas
06d2cde43d fix: llm error interrupting stream for agent loop (#5696) 2025-10-24 15:14:20 -07:00
Christina Tong
140be293da feat: deprecate append copy suffix, add override name [LET-5779] (#5694)
* feat: deprecate append copy suffix, add override name [LET-5779]

* update open api json
2025-10-24 15:14:20 -07:00
cthomas
ee7f2b9e84 feat: add helper to verify sdk version [ADD-1] (#5698)
feat: add helper to verify sdk version
2025-10-24 15:14:17 -07:00
cthomas
e8cb8e3342 feat: add sdk metadata to tracing (#5697) 2025-10-24 15:14:09 -07:00
cthomas
5e43291436 feat: remove relationship fields on identities (#5691) 2025-10-24 15:14:09 -07:00
cthomas
afdf0f80e3 feat: add backend support for agent relationship loads (#5693) 2025-10-24 15:14:09 -07:00
jnjpng
d4a75b1a2f chore: enable optimistic tool sync (#5612)
base

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-24 15:14:09 -07:00
Cameron Pfiffer
db1a3f5bff docs: reorder code groups to show TypeScript first in quickstart (#5692) 2025-10-24 15:14:06 -07:00
Sarah Wooders
2270d2f050 docs: fix documentation and update SDK for cc (#5689) 2025-10-24 15:13:54 -07:00
Cameron Pfiffer
237a502552 feat: integrate Letta Evals documentation (#5665) 2025-10-24 15:13:47 -07:00
cthomas
ef6f8b27be feat: reset message incorrectly using query param [LET-5797] (#5667)
* feat: reset message incorrectly using query param

* fix type-check
2025-10-24 15:13:47 -07:00
Ari Webb
e54df7f3a4 feat: add attach and detach archive to agent [LET-4402] (#5679)
* add attach and detach

Co-authored-by: Ari Webb <ari@letta.com>
2025-10-24 15:13:47 -07:00
cthomas
2f30b789fd feat: fix patch approvals endpoint incorrectly using queyr params [LET-5792] (#5661)
* feat: fix patch approvals endpoint incorrectly using queyr params

* make change backwards compatible
2025-10-24 15:13:47 -07:00
cthomas
3d45228a3e feat: rename preview title for docs search [LET-5795] (#5664)
* feat: rename preview title for docs search

* rename to preview_model_request
2025-10-24 15:13:47 -07:00