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
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
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
cthomas
8a3574bc48
feat: remove unused max length parameter [LET-5796] ( #5666 )
...
feat: remove unused max length parameter
2025-10-24 15:13:47 -07:00
cthomas
681f842adb
fix: identity greenlet bug ( #5678 )
2025-10-24 15:13:47 -07:00
cthomas
c3c38f2713
feat: rename multi agent group to managed group [LET-5799] ( #5672 )
...
feat: rename multi agent group to managed group
2025-10-24 15:13:47 -07:00
cthomas
026deb294c
feat: update delete runs return type [LET-5777] ( #5636 )
...
feat: update delete runs return type
2025-10-24 15:13:47 -07:00
cthomas
14faa27869
feat: replace agent.identity_ids with agent.identities [LET-5803] ( #5673 )
...
feat: replace agent.identity_ids with agent.identities
2025-10-24 15:13:47 -07:00
cthomas
ac69683a0f
feat: rename summarize messages title for docs search [LET-5794] ( #5663 )
...
feat: rename summarize messages title for docs search
2025-10-24 15:13:47 -07:00
cthomas
75b3c0bf4d
feat: deprecate use_assistant_message in list endpoints [LET-5793] ( #5662 )
...
feat: deprecate use_assistant_message in list endpoints
2025-10-24 15:13:47 -07:00
Kian Jones
45065297a0
feat: runtime validation for ids for internal managers calls ( #5544 )
...
* claude coded first pass
* fix test cases to expect errors instead
* fix this
* let's see how letta-code did
* claude
* fix tests, remove dangling comments, retrofit all managers functions with decorator
* revert to main for these since we are not erroring on invalid tool and block ids
* reorder decorators
* finish refactoring test cases
* reorder agent_manager decorators and fix test tool manager
* add decorator on missing managers
* fix id sources
* remove redundant check
* uses enum now
* move to enum
2025-10-24 15:13:47 -07:00
Ari Webb
8611c17046
feat: archives delete endpoint [LET-4397] ( #5655 )
...
delete endpoint
Co-authored-by: Ari Webb <ari@letta.com >
2025-10-24 15:13:47 -07:00
Ari Webb
4083f335f4
feat: add get_archive_by_id endpoint [LET-4405] ( #5640 )
...
add get_archive_by_id
Co-authored-by: Ari Webb <ari@letta.com >
2025-10-24 15:13:47 -07:00
Christina Tong
12185c8601
feat: add tools used filtering to internal runs [LET-5415] ( #5557 )
...
* feat: add tool_used field to run_metrics [LET-5419]
* change to tool name
* use tool ids over names
* feat: add internal runs route with template_family filtering
* feat: add step count filtering to internal runs [LET-5417]
* remove import
* add auto generated
* feat: add tools used filtering to internal runs [LET-5415]
* add test
* add test
* fix snippets
2025-10-24 15:13:47 -07:00
Ari Webb
abbd1b5595
Revert "feat: revise mcp tool routes [LET-4321]" ( #5652 )
...
Revert "feat: revise mcp tool routes [LET-4321] (#5631 )"
This reverts commit e15f120078652b2160d64a1e300317b95eccb163.
2025-10-24 15:13:47 -07:00
Kian Jones
6757c7e201
fix: also catch attribute error (.get() on type int for example) ( #5650 )
...
also catch attribute error (.get() on type int for example)
2025-10-24 15:13:47 -07:00
Ari Webb
747e7eae0e
feat: revise mcp tool routes [LET-4321] ( #5631 )
...
* start adding tools mapping
* ready to start testing new table migration
* alembic generated code
* just stage api
* small update
* integration tests
---------
Co-authored-by: Ari Webb <ari@letta.com >
2025-10-24 15:13:47 -07:00
Christina Tong
77c797c752
feat: add step count filtering to internal runs [LET-5417] ( #5547 )
...
* feat: add tool_used field to run_metrics [LET-5419]
* change to tool name
* use tool ids over names
* feat: add internal runs route with template_family filtering
* feat: add step count filtering to internal runs [LET-5417]
* remove import
* add auto generated
* add test
* fix snippets
2025-10-24 15:13:47 -07:00
Christina Tong
3d342d402b
fix: change operation id of list internal runs ( #5637 )
...
* fix: change operation id of list internal runs
* update docs
2025-10-24 15:13:38 -07:00
Ari Webb
7057dce156
feat: add support for reasoning for Claude Haiku 4.5 [LET-5735] ( #5585 )
...
frontend and backend changes
Co-authored-by: Ari Webb <ari@letta.com >
2025-10-24 15:13:35 -07:00
Christina Tong
44574ec264
feat: add internal runs route with template_family filtering [LET-5416] ( #5543 )
...
* feat: add tool_used field to run_metrics [LET-5419]
* change to tool name
* use tool ids over names
* feat: add internal runs route with template_family filtering
* remove import
* add auto generated
* restrict internal runs
* add test, address comments
* add docs and auto generated fields
* remove unused template mixins
* update openapi
* add generated
2025-10-24 15:13:15 -07:00
jnjpng
e3f794dac5
fix: handle async context task cleanup for mcp client [LET-5746] ( #5619 )
...
* base
* update
* update
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-10-24 15:13:15 -07:00
Kian Jones
bbaaabb6e1
fix: path validator had weird fastapi shared object memory bug ( #5594 )
...
* fix weird path param conflict
* move to factory model
* openapi
* use type hinting and import annotations
* re add after mc resolution
2025-10-24 15:13:15 -07:00
cthomas
c8e8cad507
feat: deprecate v1 agentfile export [LET-5751] ( #5601 )
...
* feat: deprecate v1 agentfile export
* add back legacy schema
2025-10-24 15:13:15 -07:00
cthomas
1e175b8633
feat: mark legacy agents routes as deprecated [LET-5762] ( #5609 )
...
feat: mark legacy agents routes as deprecated
2025-10-24 15:13:15 -07:00
cthomas
beaeddf54d
feat: add new blocks field to agent model and deprecate memory field [LET-4424] ( #5613 )
...
feat: add new blocks field to agent model and deprecate memory field
2025-10-24 15:13:15 -07:00
cthomas
99c7c41911
feat: add descriptive title to groups routes for docs search [LET-5760] ( #5607 )
...
feat: add descriptive title to groups routes for docs search
2025-10-24 15:13:15 -07:00