As noob in using terminal's chatgpt, after obtain the key, quickly get interrupted:
Code:
$ 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)
Nor work follow entry with the key. Please help show how to do it correctly