laravel icon indicating copy to clipboard operation
laravel copied to clipboard

APi Key not found

Open Muhammad-Huzaifa7 opened this issue 1 year ago • 0 comments

I have added the open ai key in the env file and getting it in config as "'apikey' => env('OPENAI_API_KEY')," but when i runs the command to create tread by this package i get the error "local.ERROR: Incorrect API key provided: ''. You can find your API key at https://platform.openai.com/account/api-keys. {"exception":"[object] (OpenAI\Exceptions\ErrorException(code: 0): Incorrect API key provided: ''. You can find your API key at https://platform.openai.com/account/api-keys. at C:\xampp2\htdocs\z360\vendor\openai-php\client\src\Transporters\HttpTransporter.php:131)"

Muhammad-Huzaifa7 avatar Jul 29 '24 04:07 Muhammad-Huzaifa7