Commit Graph

6595 Commits

Author SHA1 Message Date
Charles Packer
e67c98eedb feat: add tests for prompt caching + fix anthropic prompt caching [LET-6373] (#6454)
* feat: add tests for prompt caching

* fix: add cache control breakpoints for anthropic + fix tests

* fix: silence logging

* fix: patch token counting error

* fix: same patch on non-streaming path
2025-12-15 12:02:19 -08:00
Sarah Wooders
e862bae524 feat: patch tool calling endpoint and add SDK testing (#6456) 2025-12-15 12:02:19 -08:00
Sarah Wooders
ceadacd30e feat: support programmatic tool execution (cloud only) (#6441) 2025-12-15 12:02:19 -08:00
Sarah Wooders
1939a9d185 feat: patch summarizer without changes to AgentState (#6450) 2025-12-15 12:02:19 -08:00
Charles Packer
4af6465226 feat(core+web): store raw usage data on streams (and visualize properly in ADE) (#6452)
* feat(core): store raw usage data on streams

* fix(web): various fixes to deal w/ hardcoding against openai
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
Sarah Wooders
807c5c18d9 feat: add gemini token counting [LET-6371] (#6444) 2025-12-15 12:02:19 -08:00
Charles Packer
d3f5307789 fix(core): patch bug in memory tool with leading '/' [LET-6266] (#6448)
fix(core): patch bug in memory tool with leading '/'
2025-12-15 12:02:19 -08:00
Charles Packer
efb5a87313 fix(core): remove threshold multiplier on summ trigger which is bug prone (#6447) 2025-12-15 12:02:19 -08:00
Charles Packer
e142d440d5 fix: patch gemini token counting (#6445)
fix: use usage_metadata.candidates_token_count for counting total tokens
2025-12-15 12:02:18 -08:00
jnjpng
c6df306ccf fix: upgrade google-genai sdk version and fix gemini 3 streaming (#6437)
* base

* base

---------

Co-authored-by: Letta Bot <noreply@letta.com>
2025-12-15 12:02:18 -08:00
Sarah Wooders
c4d5c380d6 feat: pass in LETTA_TOOL_ID, LETTA_AGENT_ID, LETTA_PROJECT_ID into tool env (#6439) 2025-12-15 12:02:18 -08:00
Sarah Wooders
0a0cf391fc fix: fix client injection code (#6421) 2025-12-15 12:02:18 -08:00
Ari Webb
4d5be22d14 fix: utc for message/passage search tpuf [LET-6109] (#6429)
fix: utc for message/passage search tpuf

Co-authored-by: Ari Webb <ari@letta.com>
2025-12-15 12:02:18 -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
Sooty
d8b3bb86ef fix: Implement architecture-specific OTEL installation logic (#3061) 2025-11-28 16:17:01 -08:00
Denis Kuznedelev
aa7059746f Updated readme with actual argument (#3083)
Co-authored-by: Godofnothing <score.denis@mail.ru>
2025-11-27 00:56:48 -08:00
cthomas
0893bbf2ae chore: bump version 0.15.1 (#3082) 2025-11-26 14:45:39 -08:00
Caren Thomas
cda2f1b573 drop docs and bump version 2025-11-26 14:40:49 -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
cthomas
29349530d4 test: add sleep before agent deletion in test (#6412)
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com>
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
30ff204f85 feat: use default embedding for archives [LET-6186] (#6409)
feat: use default embedding for archives
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
cthomas
3a0bbe5495 feat: relax send message constraints for image test (#6408) 2025-11-26 14:39:40 -08:00
cthomas
776564fc8a fix: add null check for llm config update [LET-6340] (#6407)
fix: add null check for llm config update
2025-11-26 14:39:40 -08:00
cthomas
6b64842c48 fix: agent import json decode error [LET-6338] (#6405)
fix: agent import json decode error
2025-11-26 14:39:40 -08:00
cthomas
db534836e4 feat: allow follow up user message for approvals LET-6272 (#6392)
* feat: allow follow up user message for approvals

* add tests
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
cthomas
85604988bd test: fix message range for non reasoners (#6402)
* test: fix message range for non reasoners

* skip streaming test temporarily

* only skip streaming for non-reasoners
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
Sarah Wooders
e349ba3bdd feat: support programmatic tool calling for custom tools [LET-6316] (#6369) 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
jnjpng
2c702785d7 fix: unrecognized content part log for gemini tool call content (#6400)
base

Co-authored-by: Letta Bot <noreply@letta.com>
2025-11-26 14:39:39 -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
cthomas
4c24b4b104 fix: remove noisy log message [LET-2101] (#6394)
fix: remove noisy log message
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
Ari Webb
e39b2eb44f fix: message search ci test (#6388)
* fix: message search ci test

* fix cloud-api conditions

---------

Co-authored-by: Ari Webb <ari@letta.com>
2025-11-26 14:39:39 -08:00
cthomas
669ec19611 chore: remove legacy handling for alpha sdk in hitl tests (#6387) 2025-11-26 14:39:39 -08:00
Sarah Wooders
f7ade17c4a feat: support client injection for E2B (#6360) 2025-11-26 14:39:39 -08:00
cthomas
1d55a0f4c5 fix: use new agent loop in multi agent test (#6384)
* use new agent loop and cleanup stale agents

* fix: make multi agent use new agent loop

* remove migration
2025-11-26 14:39:39 -08:00
cthomas
8e9d85fcc7 test: fix legacy send message tests (#6382)
* test: fix legacy send message tests

* fix reasoner model test

* add hidden reasoning
2025-11-26 14:39:39 -08:00
cthomas
fa9ec1ee9c fix: missing name in tool return (#6381)
* fix: missing name in tool return

* add empty check
2025-11-26 14:39:39 -08:00
cthomas
f6c21a9783 fix: sources api validatione error for 1.0 sdk (#6380) 2025-11-26 14:39:39 -08:00
cthomas
39ff03c78c fix: file blocks loading in 1.0 sdk (#6378) 2025-11-26 14:39:39 -08:00