Commit Graph

1946 Commits

Author SHA1 Message Date
Shelley Pham
346db5ce60 feat: add status to runs api [PRO-1529] (#5214) 2025-10-07 17:50:50 -07:00
Kevin Lin
5da764a65c feat: new prompt for letta_v1_agent (#5197)
* remove unused text file

* update letta v1 prompt

* prompt

* agents, rm core memory

* add back raw string
2025-10-07 17:50:50 -07:00
Matthew Zhou
932b418681 feat: Add FK cascades, remove app-side label propagation [LET-4690] (#5219)
add FK cascades, remove app-side label propagation
2025-10-07 17:50:50 -07:00
Kian Jones
ade992d5ca refactor: remove letta prefix from sonnet (#5216)
* Refactor: Rename ANTHROPIC_SONNET_1M setting alias

Co-authored-by: kian <kian@letta.com>

* Refactor: Rename ANTHROPIC_SONNET_1M env var

Co-authored-by: kian <kian@letta.com>

---------

Co-authored-by: Cursor Agent <cursoragent@cursor.com>
2025-10-07 17:50:50 -07:00
cthomas
f8dce88ce4 feat: support for models that do not allow None content (#5218) 2025-10-07 17:50:50 -07:00
Matthew Zhou
126e51d584 feat: Support returning multiple tool returns [LET-4678] (#5202)
* Support returning multiple tool returns

* Fix test run managers
2025-10-07 17:50:50 -07:00
Matthew Zhou
0f27bf5bdd feat: Support writing packed func return to ToolReturn object (#5209)
* wip

* Add func_response to ToolReturn object

* Fix response packaging

* Backpopulate in to_pydantic

* Fix ordering of packaging

* Add more checks
2025-10-07 17:50:50 -07:00
cthomas
c31521c7ad feat: add conditional importing for lettuce client (#5212) 2025-10-07 17:50:50 -07:00
cthomas
391ecdba6d feat: clean up settings file (#5210) 2025-10-07 17:50:50 -07:00
cthomas
2a998ac562 fix: import in lettuce client (#5211) 2025-10-07 17:50:50 -07:00
cthomas
5b7e2b3f86 feat: add new lettuce client (#5207)
* feat: add new lettuce client

* modest improvements

* fix comment
2025-10-07 17:50:50 -07:00
Matthew Zhou
20ce885e07 feat: Simplify create_letta_messages_from_llm_response [LET-4681] (#5204)
Simplify create_letta_messages_from_llm_response
2025-10-07 17:50:50 -07:00
Sarah Wooders
324933edd3 feat: exception handling middleware for sandbox_configs + identities + tools (#5143) 2025-10-07 17:50:50 -07:00
Sarah Wooders
307c85ca9a fix: patch summarizer tests (#5196) 2025-10-07 17:50:50 -07:00
Charles Packer
d45d29a03f feat: add gpt-5-codex support (#5194)
* feat(core): add gpt-5-codex

* feat(web): add support to the web hardcoding
2025-10-07 17:50:49 -07:00
Matthew Zhou
f2d4d01daa feat: Persist tool call id to ToolReturn (#5193)
Add tool call id
2025-10-07 17:50:49 -07:00
Matthew Zhou
5a315b8ad5 feat: Add id to tool return object [LET-4673] (#5191)
Add id to tool return object
2025-10-07 17:50:49 -07:00
jnjpng
7930bfeb0b feat: add encrypted columns for providers, sandbox/agent variables, mcp auth code [LET-4246] (#5187)
add encrypted columns

Co-authored-by: Letta Bot <noreply@letta.com>
2025-10-07 17:50:49 -07:00
cthomas
757bbcac37 feat: add pagination to agent files endpoint (#5086)
* feat: add pagination to agent files endpoint
2025-10-07 17:50:49 -07:00
cthomas
416af626cc feat: add pagination to agent folders endpoint (#5085)
* feat: add pagination to agent folders endpoint

* chore: regenerate API client with pagination parameters

* feat: add pagination parameters to agent folders and sources endpoints

- Add pagination parameters (before, after, limit, order, order_by) to list_agent_folders endpoint
- Add pagination parameters to list_agent_sources endpoint
- Update list_attached_sources_async method to support pagination with cursor-based filtering
- Regenerate API client with new pagination parameters
2025-10-07 17:50:49 -07:00
Sarah Wooders
4168506dd2 feat: replace composite runs index to not include is_err (#5177) 2025-10-07 17:50:49 -07:00
cthomas
086ca9796d feat: gate out sleeptime from new agent loop (#5181) 2025-10-07 17:50:49 -07:00
cthomas
a7fa6bb33f feat: amend hitl tests for new agent loop (#5176) 2025-10-07 17:50:49 -07:00
cthomas
4089ad0629 fix: summarization bug (#5174) 2025-10-07 17:50:49 -07:00
cthomas
eb2a6f6890 feat: add value error to middlware for 400 (#5173)
* feat: prevent summarization mid approval request

* feat: add value error to middlware for 400
2025-10-07 17:50:49 -07:00
cthomas
ec2375f332 feat: prevent summarization mid approval request (#5172) 2025-10-07 17:50:49 -07:00
cthomas
3e70a21a6f feat: add hitl support inside agent file (#5170) 2025-10-07 17:50:49 -07:00
Sarah Wooders
7aff9aa659 feat: error handling for rest api for agents + blocks [LET-4625] (#5142) 2025-10-07 17:50:49 -07:00
Sarah Wooders
e07a589796 chore: rm composio (#5151) 2025-10-07 17:50:49 -07:00
Charles Packer
07a687880f feat(core): add sonnet 1m support [LET-4620] (#5152)
feat(core): add sonnet 1m support
2025-10-07 17:50:49 -07:00
Sarah Wooders
134e0203c2 fix: remove MessageModel.is_err == False) | (MessageModel.is_err.is_(None) (#5160) 2025-10-07 17:50:49 -07:00
Sarah Wooders
300c32456e feat: add composite message index and reduce pool timeout (#5156) 2025-10-07 17:50:49 -07:00
Charles Packer
10a301cc4b fix: use new agent loop in hitl test (#5145)
* feat: rewrite hitl test with new agent loop

* fix: codex changes (#5144)

---------

Co-authored-by: Caren Thomas <carenthomas@gmail.com>
2025-10-07 17:50:49 -07:00
Sarah Wooders
a8e6afc12c fix: allow for >50 files to be attached to an agent [LET-4606] (#5139) 2025-10-07 17:50:49 -07:00
Charles Packer
811b3e6cb6 feat: allow customizing the handle base for openrouter and for vllm [LET-4609] (#5114)
* feat: allow setting VLLM_HANDLE_BASE

* feat: same thing for openrouter
2025-10-07 17:50:49 -07:00
cthomas
4f52aab652 feat: don't error for unsupported content types (#5140) 2025-10-07 17:50:49 -07:00
cthomas
2d8e3efd9e feat: update reasoning toggle test (#5136) 2025-10-07 17:50:49 -07:00
cthomas
cc913df27c feat: add signature to content parts (#5134)
* feat: add signature to content parts

* always base64 encode thought signature

* propagate thought signature back to request
2025-10-07 17:50:49 -07:00
cthomas
89321ff29a feat: handle flaky reasoning in v2 tests (#5133) 2025-10-07 17:50:49 -07:00
Sarah Wooders
6016ac0f33 chore: undo fetch_webpage rename (#5132) 2025-10-07 17:50:49 -07:00
cthomas
93d9ff01c6 feat: add gemini native thinking (#5124)
* feat: add gemini native thinking

* update test

* revert comments
2025-10-07 17:50:49 -07:00
cthomas
647a410e62 feat: allow multiple text content parts in a message (#5128) 2025-10-07 17:50:49 -07:00
cthomas
61b41a0558 feat: enable gemini reasoning toggle on server (#5129) 2025-10-07 17:50:49 -07:00
Sarah Wooders
65b33ae27f feat: add index for run_id on messages and project_id on agents (#5117) 2025-10-07 17:50:49 -07:00
Kevin Lin
d6bde22ab1 fix: add context window for sonnet 4.5 (#5121) 2025-10-07 17:50:49 -07:00
Charles Packer
62a5d10099 fix(core): raise 404 properly for agent not found (#5118) 2025-10-07 17:50:49 -07:00
cthomas
1d611d92b9 feat: update assistant content parts union (#5115)
* feat: update assistant content parts union

* api sync

* just use the base object since updating assistant breaks frontend
2025-10-07 17:50:48 -07:00
Sarah Wooders
eb95c1330e fix: patch summarizer for gpt-5 [LET-4562] (#5040) 2025-10-07 17:50:48 -07:00
cthomas
3e17b4289a feat: gracefully handle gemini empty content parts (#5116) 2025-10-07 17:50:48 -07:00
Charles Packer
09b173668a feat(core): rename fetch_webpage to web_fetch (#5110) 2025-10-07 17:50:48 -07:00