Notes

AstrBot / Images / Workflow

ImgFlow OAuth Image Diagnostics Notes

A note on clearer OpenAI OAuth image executor errors, raw response summaries, and timeout handling.

ImgFlow’s OpenAI OAuth executor now reports clearer diagnostics. When generation fails, it extracts error codes and messages from Codex backend events. Safety refusals get a dedicated user-facing message, and completed responses with no extractable image are summarized in the audit fields.

Successful results keep provider, model, action, result count, and raw response key summaries. openai_timeout can temporarily override the provider timeout and is restored after the call. This helps trace long-running image requests without exposing full raw responses in user messages.