Open bobbingwide opened 4 months ago
Another one: Fatal error: Uncaught OpenAI\Exceptions\ErrorException: Billing hard limit has been reached in
Another one: Bad Gateway - received twice when attempting to generate an image.
Fatal error: Uncaught OpenAI\Exceptions\ErrorException: The input prompt cannot be handled by the engine.
The OpenAI PHP client is not particularly forgiving. Rather than return the errors from OpenAI it generates exceptions. I got this exception when attempting to generate an image for "Search bing"
Fatal error: Uncaught OpenAI\Exceptions\ErrorException: Your request was rejected as a result of our safety system. Your prompt may contain text that is not allowed by our safety system. in C:\apache\htdocs\wordpress\wp-content\plugins\oik-ai\vendor\openai-php\client\src\Transporters\HttpTransporter.php:133
Requirement