Blocked image generation should throw #321
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Right now depending on the type of image generation block it will either throw or return a response without an image. There seems to be a pre-filter that throws, giving an error like:
But there's a separate failure condition that does not throw but returns a response like:
I believe the latter should throw with the
raiFilteredReason
included in the error message. If the generation does not return any images, it is an error.The text was updated successfully, but these errors were encountered: