Skip to content
Farkhod Sadykov edited this page Mar 4, 2023 · 24 revisions

Welcome to the ShellGPT wiki!

Here, you can find solutions for common problems and get answers to frequently asked questions.



Changing API Key

If you need to change your API key, run:

rm ~/.config/shell-gpt/api_key.txt

Followed by

sgpt "anything"

sgpt will ask you for new API key.



HTTPErrors

500+ Server Errors

Please check OpenAI's status page and make sure the API service is operational. If it is down, wait until OpenAI will solve the issue on their side.

429 Too Many Requests

Usually it happens because of OpenAI API limitations. You can read more about request limits here You can track your usage in the dashboard Note that limitation applies on both OpenAI's playground and this tools which is using their API. Also this can happen during high traffic on OpenAI side, more details here

From OpenAI documentation:

CODE OVERVIEW
429 - You exceeded your current quota, please check your plan and billing details Cause: You have hit your maximum monthly spend (hard limit) which you can view in the account billing section. Solution: Apply for a quota increase.
429 - Rate limit reached for requests Cause: You are sending requests too quickly. Solution: Pace your requests. Read the Rate limit guide.
429 - The engine is currently overloaded, please try again later Cause: Our servers are experiencing high traffic. Solution: Please retry your requests after a brief wait.

401 Unauthorized

Make sure you have valid API key ~/.config/shell-gpt/api_key.txt.



FAQ

Does it know how to exit vim?

Yes it does.



Clone this wiki locally