diff --git a/README.md b/README.md index 4cb4b2bd..86cfceb9 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,11 @@ You can also run it with local model through ollama: git add OCO_AI_PROVIDER='ollama' opencommit ``` +If you want to use a model other than mistral, you can do so by setting the `OCO_AI_PROVIDER` environment variable as follows: + +```sh +OCO_AI_PROVIDER='ollama/llama3:8b' opencommit +``` ### Flags @@ -110,6 +115,7 @@ OCO_LANGUAGE= OCO_MESSAGE_TEMPLATE_PLACEHOLDER= OCO_PROMPT_MODULE= OCO_ONE_LINE_COMMIT= +OCO_AI_PROVIDER= ``` ### Global config for all repos