You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: switch default model references to gpt-4o across the project
- Update model references from `gpt-3.5-turbo` to `gpt-4o` in README.md and README.zh-tw.md
- Change default OpenAI model to `gpt-4o` in configuration settings
- Modify example commands to use `gpt-4o` model instead of `gpt-3.5-turbo`
- Update commit command flag default model to `gpt-4o` in commit.go
Signed-off-by: Bo-Yi Wu <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@
8
8
9
9
English | [繁體中文](./README.zh-tw.md)
10
10
11
-
A CLI written in [Go](https://go.dev) that writes git commit messages or provides a code review summary for you using ChatGPT AI (gpt-3.5-turbo, gpt-4 model) and automatically installs a [git prepare-commit-msg hook](https://git-scm.com/docs/githooks).
11
+
A CLI written in [Go](https://go.dev) that writes git commit messages or provides a code review summary for you using ChatGPT AI (gpt-4o, gpt-4 model) and automatically installs a [git prepare-commit-msg hook](https://git-scm.com/docs/githooks).
12
12
13
13
-[繁體中文介紹][1]
14
14
-[繁體中文影片][2]
@@ -27,7 +27,7 @@ A CLI written in [Go](https://go.dev) that writes git commit messages or provide
27
27
- Supports excluding files from the git diff command.
28
28
- Supports commit message translation into another language (supports `en`, `zh-tw`, or `zh-cn`).
29
29
- Supports socks proxy or custom network HTTP proxy.
30
-
- Supports [model lists](https://github.com/appleboy/CodeGPT/blob/bf28f000463cfc6dfa2572df61e1b160c5c680f7/openai/openai.go#L18-L38) like `gpt-4`, `gpt-3.5-turbo`, etc.
30
+
- Supports [model lists](https://github.com/appleboy/CodeGPT/blob/bf28f000463cfc6dfa2572df61e1b160c5c680f7/openai/openai.go#L18-L38) like `gpt-4`, `gpt-4o`, etc.
31
31
- Supports generating a brief code review.
32
32
33
33

@@ -87,7 +87,7 @@ This will create a `.codegpt.yaml` file in your home directory ($HOME/.config/co
87
87
|**openai.base_url**| Replace the default base URL (`https://api.openai.com/v1`). |
88
88
|**openai.api_key**| Generate API key from [openai platform page](https://platform.openai.com/account/api-keys). |
89
89
|**openai.org_id**| Identifier for this organization sometimes used in API requests. See [organization settings](https://platform.openai.com/account/org-settings). Only for `openai` service. |
90
-
|**openai.model**| Default model is `gpt-3.5-turbo`, you can change to `gpt-4-turbo` or other custom model (Groq or OpenRouter provider). |
90
+
|**openai.model**| Default model is `gpt-4o`, you can change to other custom model (Groq or OpenRouter provider).|
91
91
|**openai.proxy**| HTTP/HTTPS client proxy. |
92
92
|**openai.socks**| SOCKS client proxy. |
93
93
|**openai.timeout**| Default HTTP timeout is `10s` (ten seconds). |
@@ -179,7 +179,7 @@ We can use the Llama3 model from the [ollama][41] API Service, please visit [her
179
179
```sh
180
180
# pull llama3 8b model
181
181
ollama pull llama3
182
-
ollama cp llama3 gpt-3.5-turbo
182
+
ollama cp llama3 gpt-4o
183
183
```
184
184
185
185
Try to use the `ollama` API Service.
@@ -188,7 +188,7 @@ Try to use the `ollama` API Service.
188
188
curl http://localhost:11434/v1/chat/completions \
189
189
-H "Content-Type: application/json" \
190
190
-d '{
191
-
"model": "gpt-3.5-turbo",
191
+
"model": "gpt-4o",
192
192
"messages": [
193
193
{
194
194
"role": "user",
@@ -247,7 +247,7 @@ codegpt commit --preview
247
247
The commit message is shown below.
248
248
249
249
```sh
250
-
Summarize the commit message use gpt-3.5-turbo model
250
+
Summarize the commit message use gpt-4o model
251
251
We are trying to summarize a git diff
252
252
We are trying to summarize a title for pull request
0 commit comments