Problem
generate_image_from_prompt handles missing token and 503 with a friendly line; other statuses use response.text in the error string (OPSIIE_0_3_80_XP.py ~1541–1545), which can leak long JSON bodies to the terminal and TTS.
Goal
- Map common codes (
429, 401, 503) to short operator messages; truncate or omit raw body in user-visible paths.
- Optional: one retry with backoff on
503 / model loading.
Acceptance criteria
Problem
generate_image_from_prompthandles missing token and503with a friendly line; other statuses useresponse.textin the error string (OPSIIE_0_3_80_XP.py~1541–1545), which can leak long JSON bodies to the terminal and TTS.Goal
429,401,503) to short operator messages; truncate or omit raw body in user-visible paths.503/ model loading.Acceptance criteria
docs/TROUBLESHOOTING.mdupdated with retry guidance if implemented.