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
where 192.168.1.10 is example of endpoint URL, where you have ollama set up.
80
88
81
89
### Flags
@@ -84,6 +92,8 @@ There are multiple optional flags that can be used with the `oco` command:
84
92
85
93
#### Use Full GitMoji Specification
86
94
95
+
Link to the GitMoji specification: https://gitmoji.dev/
96
+
87
97
This flag can only be used if the `OCO_EMOJI` configuration item is set to `true`. This flag allows users to use all emojis in the GitMoji specification, By default, the GitMoji full specification is set to `false`, which only includes 10 emojis (🐛✨📝🚀✅♻️⬆️🔧🌐💡).
88
98
This is due to limit the number of tokens sent in each request. However, if you would like to use the full GitMoji specification, you can use the `--fgm` flag.
OCO_PROMPT_MODULE=<either conventional-commit or @commitlint, default: conventional-commit>
119
129
OCO_ONE_LINE_COMMIT=<one line commit message, default: false>
130
+
OCO_AI_PROVIDER=<anthropic, azure, ollama or ollama/model default ollama model: mistral>
120
131
```
121
132
122
133
### Global config for all repos
@@ -126,7 +137,7 @@ Local config still has more priority than Global config, but you may set `OCO_MO
126
137
Simply set any of the variables above like this:
127
138
128
139
```sh
129
-
oco config set OCO_MODEL=gpt-4
140
+
oco config set OCO_MODEL=gpt-4o
130
141
```
131
142
132
143
Configure [GitMoji](https://gitmoji.dev/) to preface a message.
@@ -143,7 +154,7 @@ oco config set OCO_EMOJI=false
143
154
144
155
### Switch to GPT-4 or other models
145
156
146
-
By default, OpenCommit uses `gpt-3.5-turbo` model.
157
+
By default, OpenCommit uses `gpt-4o` model.
147
158
148
159
You may switch to GPT-4 which performs better, but costs ~x15 times more 🤠
149
160
@@ -154,17 +165,9 @@ oco config set OCO_MODEL=gpt-4
154
165
or for as a cheaper option:
155
166
156
167
```sh
157
-
oco config set OCO_MODEL=gpt-3.5-turbo
168
+
oco config set OCO_MODEL=gpt-4o-mini
158
169
```
159
170
160
-
or for GPT-4 Turbo (Preview) which is more capable, has knowledge of world events up to April 2023, a 128k context window and 2-3x cheaper vs GPT-4:
161
-
162
-
```sh
163
-
oco config set OCO_MODEL=gpt-4-0125-preview
164
-
```
165
-
166
-
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.
167
-
168
171
### Switch to Azure OpenAI
169
172
170
173
By default OpenCommit uses [OpenAI](https://openai.com).
@@ -220,7 +223,7 @@ Replace `<module>` with either `conventional-commit` or `@commitlint`.
220
223
221
224
#### Example:
222
225
223
-
To switch to using th`'@commitlint` prompt module, run:
226
+
To switch to using the `'@commitlint` prompt module, run:
0 commit comments