Kian Jones
d2c3350a7e
feat(runs): add run ID filter to runs page ( #8726 )
...
feat(core): add run_id filter to internal runs endpoint
Adds the ability to filter runs by a specific run ID in the
internal runs list endpoint.
🐛 Generated with [Letta Code](https://letta.com )
Co-authored-by: Letta <noreply@letta.com >
2026-01-19 15:54:42 -08:00
cthomas
ca43ee0b7b
fix: cancellation causing desync for parallel tool calling [LET-7028] ( #8739 )
2026-01-19 15:54:41 -08:00
Ari Webb
6d859174c2
feat: make conversations throw http busy to stop race condition [LET-6842] ( #8411 )
...
* feat: make conversations throw http busy to stop race condition
* use redis lock instead
* move acquire lock into redis client, integration tests, move lock release into run manager
* fix tests, bug
* conditional import
* remove else
* better release
* run ci
* final reordering lock
* update tests
* wrong naming of lock holder token
2026-01-12 10:57:49 -08:00
Sarah Wooders
87d920782f
feat: add conversation and conversation_messages tables for concurrent messaging ( #8182 )
2026-01-12 10:57:48 -08:00
Sarah Wooders
d5decc2a27
fix: persist streaming errors in run metadata ( #8062 )
2026-01-12 10:57:47 -08:00
Sarah Wooders
6eccd2025d
fix: dont return 500 from cancellation endpoint ( #8004 )
2026-01-12 10:57:20 -08:00
cthomas
9a95a8f976
fix: duplicate session commit in step logging ( #7512 )
...
* fix: duplicate session commit in step logging
* update all callsites
2026-01-12 10:57:19 -08:00
Sarah Wooders
c8fa77a01f
feat: cleanup cancellation code and add more logging ( #6588 )
2025-12-15 12:02:34 -08:00
Sarah Wooders
821549817d
chore: add error logging if run updates are invalid ( #6582 )
2025-12-15 12:02:34 -08:00
cthomas
109989ac1a
fix: tracing for summarizer errors ( #6524 )
2025-12-15 12:02:33 -08:00
Kian Jones
0bac88d88a
feat: run id correlation for core logs ( #6518 )
...
run-id correlation
2025-12-15 12:02:33 -08:00
Sarah Wooders
f417e53638
fix: fix cancellation issues without making too many changes to message_ids persistence ( #6442 )
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
Kian Jones
939ba75e97
fix: properly limit runs query ( #6357 )
...
* letta
* tweak
* cancellation to 100
* openapi changes
2025-11-24 19:10:27 -08:00
Christina Tong
ef3df907c5
feat: add last_stop_reason to AgentState [LET-5911] ( #5772 )
...
* feat: add last_stop_reason to AgentState [LET-5911]
* undo agent loop changes, use update_run_by_id_async
* add run manager test
* add integration tests
* remove comment
* remove duplicate test
2025-11-13 15:36:55 -08:00
Kian Jones
60115d4931
fix: lettuce import and add unit tests for new run manager function ( #5893 )
...
* fix lettuce import and add unit tests for new run manager function
* fix unit tests
* bump version (unrelated)
2025-11-13 15:36:38 -08:00
Kian Jones
193c4f7c4a
chore: continued logging cleanup and bugfixes ( #5882 )
...
* gracefully handle mcp error, runs/temporal error, and otel exporter bug fixes
* move error handling to managers
* remove migrated error handling from routers
* move logger.error calls to logger.warnings
2025-11-13 15:36:20 -08:00
Shubham Naik
95816b9b28
Shub/let 5962 add perfomranceduration search to runs [LET-5962] ( #5850 )
...
* feat: add perfomrance/search to list internal runs
* chore: add tests
* chore: fix ui
* feat: support UI for this
* chore: update tests
* chore: update types
---------
Co-authored-by: Shubham Naik <shub@memgpt.ai >
2025-11-13 15:36:14 -08:00
Christina Tong
9524d7937c
fix: add project id during run creation [LET-5960] ( #5846 )
2025-11-13 15:36:14 -08:00
Christina Tong
042a32d371
feat: add project_id to internal runs endpoint [LET-5915] ( #5761 )
...
feat: add explicit project_id to internal runs endpoint [LET-5915]
2025-11-13 15:35:34 -08: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
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
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
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
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
Christina Tong
79f49c33d8
feat: add tool_used field to run_metrics [LET-5419] ( #5540 )
...
* feat: add tool_used field to run_metrics [LET-5419]
* change to tool name
* use tool ids over names
* add generated files
* chore: update OpenAPI schema to include tools_used field in RunMetrics
* update alembic file
2025-10-24 15:12:11 -07:00
jnjpng
264de822e5
fix: dispatch callback failing on probe [LET-5606] ( #5541 )
...
* probe
* cleanup
* hi
* log
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-10-24 15:12:11 -07:00
jnjpng
dad7254b1b
fix: record run duration to runs table and sync with run_metrics [LET-5525] ( #5441 )
...
* base
* helper
* comment
---------
Co-authored-by: Letta Bot <noreply@letta.com >
2025-10-24 15:12:11 -07:00
cthomas
9cb5156ac7
chore: sync 0.12.0 version ( #3023 )
...
Co-authored-by: Matthew Zhou <mattzh1314@gmail.com >
Co-authored-by: Kian Jones <11655409+kianjones9@users.noreply.github.com >
Co-authored-by: Sarah Wooders <sarahwooders@gmail.com >
2025-10-08 16:10:51 -07:00
cthomas
2916095e86
feat: use assistant message in runs read path ( #5026 )
2025-10-07 17:50:47 -07:00
Sarah Wooders
5502134e7a
fix: don't override callback data if using temporal ( #5004 )
2025-10-07 17:50:47 -07:00
Sarah Wooders
354205f581
feat: create new runs table [LET-4467] ( #4841 )
2025-10-07 17:50:47 -07:00