File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -70,6 +70,11 @@ You can also run it with local model through ollama:
7070git add < files...>
7171OCO_AI_PROVIDER=' ollama' opencommit
7272```
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+ ```
7378
7479### Flags
7580
@@ -110,6 +115,7 @@ OCO_LANGUAGE=<locale, scroll to the bottom to see options>
110115OCO_MESSAGE_TEMPLATE_PLACEHOLDER=<message template placeholder, default: '$msg'>
111116OCO_PROMPT_MODULE=<either conventional-commit or @commitlint, default: conventional-commit>
112117OCO_ONE_LINE_COMMIT=<one line commit message, default: false>
118+ OCO_AI_PROVIDER=<anthropic, azure, ollama or ollama/model default ollama model: mistral>
113119```
114120
115121### Global config for all repos
You can’t perform that action at this time.
0 commit comments