Skip to content

The agent that grows with you

test(tui-gateway): expect provider_label on the returned-error surface

Brooklyn Nicholsonec31a035581e
diff --git a/tests/tui_gateway/test_failed_turn_retention.py b/tests/tui_gateway/test_failed_turn_retention.py
index 1804b3de6db..dd33135a1fb 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)