-
-
Notifications
You must be signed in to change notification settings - Fork 780
Home
If you need to change your API key, you can edit config file located in ~/.config/shell_gpt/.sgptrc
. Change line with OPENAI_API_KEY
.
If you are getting HTTPError 429 Client Error Too Many Requests for url: https://api.openai.com/v1/chat/completions
- ❗️Currenly it is required to link credit/debit card in order to make API requests.
- You ran out of free credit (18$ free trial), check your dashboard.
- You are hitting a rate limit.
- OpenAI servers are down, check the status page.
ChatGPT API and ChatGPT Plus subscription are billed separately. The API has its own pricing, which can be found at https://openai.com/pricing. The ChatGPT Plus subscription covers usage on chat.openai.com only. The ChatGPT API is not available for free.
You can build sgpt
into a single binary file using pyinstaller. It will include all dependencies along with the Python interpreter, dynamically linked libraries, and the app into a single package.
git clone https://github.com/TheR1D/shell_gpt.git
cd shell_gpt
python3 -m venv venv
source venv/bin/activate
pip install pyinstaller
pip install -e .
cd sgpt
pyinstaller --onefile app.py
This process generates a "dist" directory containing the binary file "app" that you can execute with ./app --help
.
Please note:
- The binary will be compatible with the operating system and architecture you compile it on. For example, if you compile your Python script into a binary on a Linux machine, the resulting binary will only be compatible with Linux.
- This method may lead to significant performance degradation.
ShellGPT command-line tool for consulting with robots.