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
+23-1Lines changed: 23 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,14 @@ This is due to limit the number of tokens sent in each request. However, if you
84
84
oco --fgm
85
85
```
86
86
87
+
#### Skip Commit Confirmation
88
+
89
+
This flag allows users to automatically commit the changes without having to manually confirm the commit message. This is useful for users who want to streamline the commit process and avoid additional steps. To use this flag, you can run the following command:
OCO_PROMPT_MODULE=<either conventional-commit or @commitlint, default: conventional-commit>
@@ -150,6 +158,20 @@ oco config set OCO_MODEL=gpt-4-0125-preview
150
158
151
159
Make sure that you spell it `gpt-4` (lowercase) and that you have API access to the 4th model. Even if you have ChatGPT+, that doesn't necessarily mean that you have API access to GPT-4.
152
160
161
+
### Switch to Azure OpenAI
162
+
163
+
By default OpenCommit uses [OpenAI](https://openai.com).
164
+
165
+
You could switch to [Azure OpenAI Service](https://learn.microsoft.com/azure/cognitive-services/openai/)🚀
166
+
167
+
```sh
168
+
opencommit config set OCO_AI_PROVIDER=azure
169
+
```
170
+
171
+
Of course need to set 'OPENAI_API_KEY'. And also need to set the
172
+
'OPENAI_BASE_PATH' for the endpoint and set the deployment name to
173
+
'model'.
174
+
153
175
### Locale configuration
154
176
155
177
To globally specify the language used to generate commit messages:
0 commit comments