Add linux 386 binary

This reverts commit 5da82f8de20ee1278b9f261b5ef4a1252b942892.
This commit is contained in:
kardolus
2024-06-02 11:44:31 -04:00
committed by Guillermo Kardolus
parent 16fcd47fff
commit 708b26fc24
2 changed files with 9 additions and 0 deletions

View File

@@ -17,6 +17,7 @@ Azure, featuring streaming capabilities and extensive configuration options.
- [macOS Intel chips](#macos-intel-chips)
- [Linux (amd64)](#linux-amd64)
- [Linux (arm64)](#linux-arm64)
- [Linux (386)](#linux-386)
- [Windows (amd64)](#windows-amd64)
- [Getting Started](#getting-started)
- [Configuration](#configuration)
@@ -93,6 +94,12 @@ curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/latest/downl
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/latest/download/chatgpt-linux-arm64 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
```
#### Linux (386)
```shell
curl -L -o chatgpt https://github.com/kardolus/chatgpt-cli/releases/latest/download/chatgpt-linux-386 && chmod +x chatgpt && sudo mv chatgpt /usr/local/bin/
```
#### Windows (amd64)
Download the binary
@@ -272,6 +279,7 @@ completions_path: /openai/deployments/<your_deployment>/chat/completions?api-ver
models_path: /v1/models
auth_header: api-key
auth_token_prefix: " "
command_prompt: '[%datetime] [Q%counter]'
```
You can set the API key either in the `config.yaml` file as shown above or export it as an environment variable:

View File

@@ -13,6 +13,7 @@ TARGETS=(
"darwin:arm64"
"linux:amd64"
"linux:arm64"
"linux:386"
"windows:amd64"
)