Fixing 401 unauthorized response

Client error: POST https://api.openai.com/v1/chat/completions resulted in a 401 Unauthorized response: { “error”: { “message”: "You didn’t provide an API key. You need to provide your API key in an Authorization (truncated…) - -FAILED