Please help solve this error in step by step explanation, after got the key:
$ chatgpt
Welcome to chatgpt. You can quit with 'exit' or 'q'.
Enter a prompt:
tesla
Your request to Open AI API failed: invalid_request_error
You didn't provide an API key. You need to provide your API key in an Authorization header using Bearer auth (i.e. Authorization: Bearer YOUR_KEY)
Please help solve this error in step by step explanation, after got the key: