From ec31a035581e000bb5abcdbee4994b05741d51b5 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Sun, 27 Sep 2026 12:50:58 -0500 Subject: [PATCH] test(tui-gateway): expect provider_label on the returned-error surface --- tests/tui_gateway/test_failed_turn_retention.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/tui_gateway/test_failed_turn_retention.py b/tests/tui_gateway/test_failed_turn_retention.py index 1804b3de6dba..dd33135a1fbd 100644 --- a/tests/tui_gateway/test_failed_turn_retention.py +++ b/tests/tui_gateway/test_failed_turn_retention.py @@ -201,6 +201,8 @@ def test_returned_error_result_carries_error_surface(emits, turn_env): # report the model that actually failed, not the composer's current. "provider": "openrouter", "model": "test/model", + # Every layer names the provider by its display label for the card copy. + "provider_label": "OpenRouter", } snapshot = server._inflight_snapshot(session)