Commit Graph

199 Commits

Author SHA1 Message Date
Ari Webb
4d8d9757aa feat: add request-id for steps [LET-6587] (#7349)
* feat: add request-id for steps

* order revisions correctly

* stage publish api
2026-01-12 10:57:19 -08:00
Sarah Wooders
a7639a53eb fix: fix summary message return for compaction (#7402) 2026-01-12 10:57:19 -08:00
Shubham Naik
477b51fda1 chore: fix casing omg (#7379)
* chore: fix

* chore: fix

* chore: fix

* chore: merge

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2026-01-12 10:57:19 -08:00
Sarah Wooders
3f3e54d937 feat: add compaction response (#7389) 2026-01-12 10:57:19 -08:00
Sarah Wooders
f9f1b1e82d feat: allow for configuration compaction and return message delta (#7378) 2026-01-12 10:57:19 -08:00
Shubham Naik
0585f013f4 feat: telemetry endpoint [LET-6599] (#7370)
* feat: telemetry endpoint

* feat: telemetry endpoint

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2026-01-12 10:57:19 -08:00
Shubham Naik
25a7eaafe6 Shub/let 6588 feedback endpoint [LET-6588] (#7329)
* feat: add feedback endpoint

* feat: add feedback endpoint

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-12-17 17:31:03 -08:00
Shubham Naik
2f023e9f4a Shub/let 6581 add endpoint for showing current balances [LET-6581] (#7208)
* feat: add endpoint for showing current balance

* feat: add endpoint for showing current balance

* chore: update endpoints

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-12-17 17:31:02 -08:00
Christina Tong
f929d53cfe add msg id to search endpoint response [LET-6582] (#7236)
* add msg id to search endpoint response

* rename
2025-12-17 17:31:02 -08:00
Sarah Wooders
bd9f3aca9b fix: fix prompt_acknowledgement usage and update summarization prompts (#7012) 2025-12-15 12:03:09 -08:00
Sarah Wooders
a731e01e88 fix: use model instead of model_settings (#6834) 2025-12-15 12:03:09 -08:00
Sarah Wooders
a721a00899 feat: add agent_id to search results (#6867) 2025-12-15 12:03:09 -08:00
Kevin Lin
4b9485a484 feat: Add max tokens exceeded to stop reasons [LET-6480] (#6576) 2025-12-15 12:03:09 -08:00
Ari Webb
fecf503ad9 feat: xhigh reasoning for gpt-5.2 (#6735) 2025-12-15 12:03:09 -08:00
Sarah Wooders
7ea297231a feat: add compaction_settings to agents (#6625)
* initial commit

* Add database migration for compaction_settings field

This migration adds the compaction_settings column to the agents table
to support customized summarization configuration for each agent.

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

Co-Authored-By: Letta <noreply@letta.com>

* fix

* rename

* update apis

* fix tests

* update web test

---------

Co-authored-by: Letta <noreply@letta.com>
Co-authored-by: Kian Jones <kian@letta.com>
2025-12-15 12:02:34 -08:00
Shubham Naik
4309ecf606 chore: list shceudled messages [LET-6497] (#6690)
* chore: list shceudled messages

* chore: list shceudled messages

* chore: fix type

* chore: fix

* chore: fix

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-12-15 12:02:34 -08:00
Shubham Naik
67d1c9c135 chore: autogenerate-api (#6699)
Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-12-15 12:02:34 -08:00
jnjpng
3221ed8a14 fix: update base provider to only handle _enc fields (#6591)
* base

* update

* another pass

* fix

* generate

* fix test

* don't set on create

* last fixes

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-12-15 12:02:34 -08:00
Shubham Naik
99126c6283 feat: add delete scheudle message handler [LET-6496] (#6589)
* feat: add delete scheudle message handler

* chore: scheduled messages

* chore: scheduled messages

* chore: upodate sources

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-12-15 12:02:34 -08:00
Sarah Wooders
bbd52e291c feat: refactor summarization and message persistence code [LET-6464] (#6561) 2025-12-15 12:02:34 -08:00
Shubham Naik
b2cae07556 Shub/let 6495 create base code for scheduling [LET-6495] (#6581)
* feat: create base code for scheduling

* feat: create base code for scheduling

* feat: create base code for scheduling

* feat: create base code for scheduling

* chore: redeploy

* chore: redeploy

* chore: userid

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-12-15 12:02:34 -08:00
Ari Webb
b4af037c19 feat: default preserve filesystem for migration [LET-6366] (#6475)
* feat: default preserve filesystem for migration

* add button on frontend

* stage and publish api and add to templates test

* fix test

* stage and publish api

* agents inherit folders from templates

* sync sources on template update

* don't preserve sources on af upload

* fix test
2025-12-15 12:02:34 -08:00
Ari Webb
4092820f3a feat: add project id scoping for tools backend changes (#6529) 2025-12-15 12:02:34 -08:00
Sarah Wooders
e862bae524 feat: patch tool calling endpoint and add SDK testing (#6456) 2025-12-15 12:02:19 -08:00
Charles Packer
88a3743cc8 fix(core): distinguish between null and 0 for prompt caching (#6451)
* fix(core): distinguish between null and 0 for prompt caching

* fix: runtime errors

* fix: just publish just sgate
2025-12-15 12:02:19 -08:00
Charles Packer
131891e05f feat: add tracking of advanced usage data (eg caching) [LET-6372] (#6449)
* feat: init refactor

* feat: add helper code

* fix: missing file + test

* fix: just state/publish api
2025-12-15 12:02:19 -08:00
Shubham Naik
aa96aacde1 chore: update endpoints [LET-6311] (#6428)
chore: update endpoints

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-12-15 12:02:18 -08:00
Ari Webb
92bad11453 fix: remove project_id from identities list [LET-6258] (#6413)
* fix: remove project_id from identities list

* fix frontend

* revert and add support for headers

* just stage + publish api

* don't use headers yet as that breaks tests

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-12-15 12:02:18 -08:00
Shubham Naik
09bf146140 feat: add delete/create template endpoint [LET-6309] (#6416)
* feat: add delete/create template endpoint

* chore: update sdk

* chore: update sdk

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-26 14:39:40 -08:00
Ari Webb
d4e7428c98 feat: structured outputs for anthropic [LET-6232] (#6410)
feat: structured outputs for anthropic

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-26 14:39:40 -08:00
Shubham Naik
2ee1ff50dd Shub/let 6339 add endpoint for counting non hidden agents [LET-6339] (#6406)
* feat: add hidden agent count

* feat: add hidden agent count

* chore; hiddne agents

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-26 14:39:40 -08:00
Christina Tong
96ed4791ea chore: add agent id filter to ADE agents [LET-6278] (#6339)
* chore: filter agents by agent id [LET-6277]

* chore: add agent id filter to ADE agents [LET-6278]

* update autogen files

* update to fe implementation

* update

* translations

* add autogenerated files
2025-11-26 14:39:40 -08:00
Sarah Wooders
0fc86c4968 feat: run tool by for a given agent [LET-6320] (#6386) 2025-11-26 14:39:40 -08:00
Shubham Naik
0653970533 Fix template alignment (#6389)
* chore: fix template render alignment

* chore: fix template render alignment

* chore: fix templates

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-26 14:39:40 -08:00
Kian Jones
3e92fecb03 feat: query param validation block label, name, and search (#6397)
* add block label, name, and search query param validation

* finishing touches on blocks

* remove default for blocks

* query changes to api spec

* openapi changes

* change descriptions
2025-11-26 14:39:40 -08:00
Shubham Naik
d13205d8a2 Shub/let 3923 identities totally broken [LET-3923] (#6346)
* fix: identities sdk tests

* fix: identities sdk tests

* chore: fix tests

* chore: update step orchestrator

* chore: add logging

* chore: add stripe keys

* fix: check

* chore: update db

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-26 14:39:40 -08:00
Ari Webb
3e02f12dfd feat: add tool embedding and search [LET-6333] (#6398)
* feat: add tool embedding and search

* fix ci

* add env variable for embedding tools

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-26 14:39:40 -08:00
cthomas
a101b6c4e9 feat: change default value for legacy put_inner_thoughts_in_kwargs (#6395)
* feat: change default value for legacy put_inner_thoughts_in_kwargs

* update default in validation layer
2025-11-26 14:39:39 -08:00
Ari Webb
89c7ab5f14 feat: structured outputs for openai [LET-6233] (#6363)
* first hack with test

* remove changes integration test

* Delete apps/core/tests/sdk_v1/integration/integration_test_send_message_v2.py

* add test

* remove comment

* stage and publish api

* deprecate base level response_schema

* add param to llm_config test

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-26 14:39:39 -08:00
cthomas
b08dc5c4d8 feat: mark include_relationships param as legacy in api (#6368) 2025-11-24 19:11:20 -08:00
Kian Jones
939ba75e97 fix: properly limit runs query (#6357)
* letta

* tweak

* cancellation to 100

* openapi changes
2025-11-24 19:10:27 -08:00
Shubham Naik
3ea7d8a356 Shub/let 6307 refactor create agent code to not reuse code [LET-6307] (#6352)
* feat: refactor create agent to not reuse code

* chore: create agent template code refactor

* chore: create agent template code refactor

* chore: create agent template code refactor

* Update docs

---------

Co-authored-by: Shubham Naik <shub@memgpt.ai>
2025-11-24 19:10:27 -08:00
Charles Packer
c4699b3d17 feat: add support for opus 4.5 (#6256)
* feat: add support for new model

* fix: just stage-api && just publish-api (anthropic model settings changed)

* fix: just stage-api && just publish-api (anthropic model settings changed)

* fix: make kevlar have default reasoning on

* fix: bump anthropic sdk version

* fix: patch name

* pin newer version anthropic

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:10:27 -08:00
Ari Webb
f9b405372d feat: add search routes [LET-6236] (#6280)
* claude code first pass

* rename routes

* search_messages and list_messages

* revert agents messagesearch

* generate api

* fix backend for list all messages

* request for message search

* return list of letta message

* add tests

* error in archive endpoint

* archive delete return type wrong

* optional params for archive creation

* add passage to tpuf on create

* fix archive manager

* support global passage search

* search by agent

* just do basic org wide search for now

* change message test to be about fresh data, cleanup after

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:10:27 -08:00
jnjpng
a843cdba53 fix: create agent for template openapi response schema (#6314)
* base

* fix

* generate

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-11-24 19:10:27 -08:00
Ari Webb
d417870537 feat: parallel tool calling in model settings [LET-6239] (#6262)
* parallel tool calling in model settings

* configs for send message sdk v1

* change models for all tests

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-24 19:10:26 -08:00
cthomas
0e92850c95 feat: update template endpoint title (#6283) 2025-11-24 19:10:26 -08:00
cthomas
90e13f7dbc fix: runs endpoint titles (#6282) 2025-11-24 19:10:25 -08:00
cthomas
09df9167f3 feat: rename upsert properties endpoint (#6281) 2025-11-24 19:10:12 -08:00
cthomas
4e22afad22 feat: rename get mcp server to retrieve (#6278) 2025-11-24 19:10:12 -08:00