From b920f3f81fd0d77d9b0ec64d9c5df2b8666916a8 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 11 Nov 2026 22:16:57 +0100 Subject: [PATCH] usage-per-turn: the captured error result carries result_index 0 and no usage Co-Authored-By: Claude Sonnet 5.5 --- crates/mind-body/src/self_run/tests.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/mind-body/src/self_run/tests.rs b/crates/mind-body/src/self_run/tests.rs index f43e84d..16d0339 100644 --- a/crates/mind-body/src/self_run/tests.rs +++ b/crates/mind-body/src/self_run/tests.rs @@ -1016,7 +1016,7 @@ fn unreadable_and_foreign_lines_are_skipped_and_never_printed() { ]); assert_eq!(ran.lines(), "request 1 prefix 10 result subtype=success is_error=true: Failed to authenticate: OAuth session expired and could not be refreshed -usage turn ?: not reported +usage turn 0: not reported "); let outcome = ran.outcome.as_ref().unwrap().to_string(); assert!(!ran.out.contains(canary) && !outcome.contains(canary));