Skip to content

Commit 67d6f47

Browse files
committed
Change default model to gpt-5.4
1 parent 93ddfed commit 67d6f47

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ You can customize Tab-commit-gpt's behavior using the following environment vari
6666
| Variable | Description | Default |
6767
| -------------------------------- | ------------------------------------------------------------ | ------------------------------------------------------------- |
6868
| `OPENAI_API_KEY` | Your OpenAI API key | **(required)** |
69-
| `OPENAI_MODEL` | OpenAI model to use (e.g., `gpt-4o`, `gpt-3.5-turbo`) | `gpt-4o` |
69+
| `OPENAI_MODEL` | OpenAI model to use (e.g., `gpt-5.4`, `gpt-4o`) | `gpt-5.4` |
7070
| `OPENAI_API_URL` | URL for the OpenAI API endpoint | `https://api.openai.com/v1/chat/completions` |
7171
| `OPENAI_TEMPERATURE` | Sampling temperature (0.0–1.0, higher = more creative) | `0.7` |
7272
| `OPENAI_MAX_TOKENS` | Maximum number of tokens in response | `1024` |

cmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
const (
1515
defultMaxTokens = 1024
1616
defaultTemperature = 0.7
17-
defaultModel = "gpt-4o"
17+
defaultModel = "gpt-5.4"
1818
defaultAPIURL = "https://api.openai.com/v1/chat/completions"
1919
defaultLanguage = "en"
2020
defaultSoftMaxLength = "60"

tab-commit-gpt-env.sample

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ OPENAI_API_KEY=sk-...
1717
# export OPENAI_MAX_TOKENS=1024
1818

1919
# OPENAI_MODEL is the model to use for the OpenAI API.
20-
# export OPENAI_MODEL=gpt-4o
20+
# export OPENAI_MODEL=gpt-5.4
2121

2222
# TAB_COMMIT_LANGUAGE is the language to use for the commit message.
2323
# export TAB_COMMIT_LANGUAGE=en

0 commit comments

Comments
 (0)