Commit Graph

6585 Commits

Author SHA1 Message Date
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
cthomas
898c0ed83e test: cancellation edge case in test (#6379) 2025-11-26 14:39:39 -08:00
cthomas
b08309487c fix: relative path for data dir in test (#6376) 2025-11-26 14:39:39 -08:00
cthomas
e5bddab11c test: migrate cancellation test to 1.0 sdk [LET-6327] (#6375)
* test: migrate cancellation test to 1.0 sdk

* revert async change

* debug redis

* cleanup
2025-11-26 14:39:39 -08:00
cthomas
9cdaf4b5a8 test: migrate mcp_tests to 1.0 sdk [LET-6326] (#6374)
test: migrate mcp_tests to 1.0 sdk
2025-11-26 14:39:39 -08:00
cthomas
3efee41148 test: migration integration_test_mcp to use 1.0 sdk [LET-6325] (#6373)
test: migration integration_test_mcp to use 1.0 sdk
2025-11-26 14:39:39 -08:00
cthomas
6a4c9d7514 test: fix validation errors preventing tool deletion [LET-6323] (#6372)
test: fix validation errors preventing tool deletion
2025-11-26 14:39:39 -08:00
cthomas
09c1f7f1b3 feat: migrate search test to 1.0 sdk [LET-6321] (#6370)
* feat: migrate search test to 1.0 sdk

* fix import

* attempt to fix

* attempt 2
2025-11-26 14:39:39 -08:00
cthomas
e272da068c test: make test_sdk_client compat with 1.0 [LET-6322] (#6371)
test: make test_sdk_client compat with 1.0
2025-11-26 14:39:39 -08:00
cthomas
0ecf72567a test: migrate sources test to 1.0 sdk [LET-6317] (#6367)
* test: migrate sources test to 1.0 sdk

* fix dict attribute access
2025-11-26 14:39:39 -08:00
cthomas
7216d35418 chore: bump version 0.15.0 (#3077) 2025-11-24 19:15:30 -08:00