diff --git a/README.md b/README.md
index c920685..890ba1b 100644
--- a/README.md
+++ b/README.md
@@ -2,12 +2,12 @@
Auto-generate meaningful commits in 1 second
Killing lame commits with AI 🤯🔫
-
+
---
@@ -57,6 +57,7 @@ oco
```
You can also run it with local model through ollama:
+
- install and start ollama
- run `ollama run mistral` (do this only once, to pull model)
- run (in your project directory):
@@ -66,7 +67,6 @@ git add
AI_PROVIDER='ollama' opencommit
```
-
## Configuration
### Local per repo configuration
diff --git a/src/commands/config.ts b/src/commands/config.ts
index 50dfc5d..346de5a 100644
--- a/src/commands/config.ts
+++ b/src/commands/config.ts
@@ -214,9 +214,7 @@ export const getConfig = (): ConfigType | null => {
config[configKey] = validValue;
} catch (error) {
- outro(
- `'${configKey}' name is invalid, it should be either 'OCO_${configKey.toUpperCase()}' or it doesn't exist.`
- );
+ outro(`Unknown '${configKey}' config option.`);
outro(
`Manually fix the '.env' file or global '~/.opencommit' config file.`
);