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
- Add options to `.codegpt.yaml` file for `openai.org_id`, `openai.model`, `openai.lang`, and `openai.proxy`
- Update README.md to reflect new options in `.codegpt.yaml` file
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,12 @@ Please first create your OpenAI API Key. The [OpenAI Platform](https://platform.
53
53
codegpt config set openai.api_key sk-xxxxxxx
54
54
```
55
55
56
-
This will create a `.codegpt.yaml` file in your home directory ($HOME/.config/codegpt/.codegpt.yaml).
56
+
This will create a `.codegpt.yaml` file in your home directory ($HOME/.config/codegpt/.codegpt.yaml). The following options are available.
57
+
58
+
***openai.org_id**: Identifier for this organization sometimes used in API requests. see [organization settings](https://platform.openai.com/account/org-settings).
59
+
***openai.model**: default model is `gpt-3.5-turbo`, you can change to `text-davinci-003` or [other available model list](https://github.com/appleboy/CodeGPT/blob/a75ed831ce30c5c593613b9c0792954586d7f399/openai/openai.go#L16-L29).
60
+
***openai.lang**: default language is `en` and available languages `zh-tw`, `zh-tw`, `ja`.
0 commit comments