File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -70,6 +70,11 @@ You can also run it with local model through ollama:
70
70
git add < files...>
71
71
OCO_AI_PROVIDER=' ollama' opencommit
72
72
```
73
+ If you want to use a model other than mistral, you can do so by setting the ` OCO_AI_PROVIDER ` environment variable as follows:
74
+
75
+ ``` sh
76
+ OCO_AI_PROVIDER=' ollama/llama3:8b' opencommit
77
+ ```
73
78
74
79
### Flags
75
80
@@ -110,6 +115,7 @@ OCO_LANGUAGE=<locale, scroll to the bottom to see options>
110
115
OCO_MESSAGE_TEMPLATE_PLACEHOLDER=<message template placeholder, default: '$msg'>
111
116
OCO_PROMPT_MODULE=<either conventional-commit or @commitlint, default: conventional-commit>
112
117
OCO_ONE_LINE_COMMIT=<one line commit message, default: false>
118
+ OCO_AI_PROVIDER=<anthropic, azure, ollama or ollama/model default ollama model: mistral>
113
119
```
114
120
115
121
### Global config for all repos
You can’t perform that action at this time.
0 commit comments