StreamEvent::Error is encoded by the agent loop as an assistant message with stop_reason=error and error_message, but the UI only rendered the header and the (empty) content, hiding the actual message (e.g. a provider HTTP 400 detail). Now: - UiBlock::Error renders error_message in red, for both committed and live assistant messages - on job Done, the error is also surfaced into the status bar and a note, even when the job itself reported no error (it was encoded as a message) - regression test: an error message renders its concrete text |
||
|---|---|---|
| .. | ||
| fake | ||
| app_session_tests.rs | ||
| config_tests.rs | ||
| format_tests.rs | ||
| job_tests.rs | ||
| state_tests.rs | ||