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
Copy file name to clipboardExpand all lines: README.md
+18-16Lines changed: 18 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,22 +80,24 @@ codegpt config set openai.api_key sk-xxxxxxx
80
80
81
81
This will create a `.codegpt.yaml` file in your home directory ($HOME/.config/codegpt/.codegpt.yaml). The following options are available.
82
82
83
-
***openai.base_url**: replace the default base URL (`https://api.openai.com/v1`).
84
-
***openai.api_key**: generate API key from [openai platform page](https://platform.openai.com/account/api-keys).
85
-
***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.
86
-
***openai.model**: default model is `gpt-3.5-turbo`, you can change to `gpt-4-turbo` or other custom model (Groq or OpenRouter provider).
87
-
***openai.proxy**: http/https client proxy.
88
-
***openai.socks**: socks client proxy.
89
-
***openai.timeout**: default http timeout is `10s` (ten seconds).
90
-
***openai.max_tokens**: default max tokens is `300`. see reference [max_tokens](https://platform.openai.com/docs/api-reference/completions/create#completions/create-max_tokens).
91
-
***openai.temperature**: default temperature is `1`. see reference [temperature](https://platform.openai.com/docs/api-reference/completions/create#completions/create-temperature).
92
-
***git.diff_unified**: generate diffs with `<n>` lines of context, default is `3`.
93
-
***git.exclude_list**: exclude file from `git diff` command.
94
-
***openai.provider**: default service provider is `openai`, you can change to `azure`.
95
-
***output.lang**: default language is `en` and available languages `zh-tw`, `zh-cn`, `ja`.
96
-
***openai.top_p**: default top_p is `1.0`. see reference [top_p](https://platform.openai.com/docs/api-reference/completions/create#completions/create-top_p).
97
-
***openai.frequency_penalty**: default frequency_penalty is `0.0`. see reference [frequency_penalty](https://platform.openai.com/docs/api-reference/completions/create#completions/create-frequency_penalty).
98
-
***openai.presence_penalty**: default presence_penalty is `0.0`. see reference [presence_penalty](https://platform.openai.com/docs/api-reference/completions/create#completions/create-presence_penalty).
|**openai.base_url**| Replace the default base URL (`https://api.openai.com/v1`). |
86
+
|**openai.api_key**| Generate API key from [openai platform page](https://platform.openai.com/account/api-keys). |
87
+
|**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. |
88
+
|**openai.model**| Default model is `gpt-3.5-turbo`, you can change to `gpt-4-turbo` or other custom model (Groq or OpenRouter provider). |
89
+
|**openai.proxy**| HTTP/HTTPS client proxy. |
90
+
|**openai.socks**| SOCKS client proxy. |
91
+
|**openai.timeout**| Default HTTP timeout is `10s` (ten seconds). |
92
+
|**openai.max_tokens**| Default max tokens is `300`. See reference [max_tokens](https://platform.openai.com/docs/api-reference/completions/create#completions/create-max_tokens). |
93
+
|**openai.temperature**| Default temperature is `1`. See reference [temperature](https://platform.openai.com/docs/api-reference/completions/create#completions/create-temperature). |
94
+
|**git.diff_unified**| Generate diffs with `<n>` lines of context, default is `3`. |
95
+
|**git.exclude_list**| Exclude file from `git diff` command. |
96
+
|**openai.provider**| Default service provider is `openai`, you can change to `azure`. |
97
+
|**output.lang**| Default language is `en` and available languages `zh-tw`, `zh-cn`, `ja`. |
98
+
|**openai.top_p**| Default top_p is `1.0`. See reference [top_p](https://platform.openai.com/docs/api-reference/completions/create#completions/create-top_p). |
99
+
|**openai.frequency_penalty**| Default frequency_penalty is `0.0`. See reference [frequency_penalty](https://platform.openai.com/docs/api-reference/completions/create#completions/create-frequency_penalty). |
100
+
|**openai.presence_penalty**| Default presence_penalty is `0.0`. See reference [presence_penalty](https://platform.openai.com/docs/api-reference/completions/create#completions/create-presence_penalty). |
0 commit comments