diff --git a/README.md b/README.md index a220ba8..d4f7a3c 100644 --- a/README.md +++ b/README.md @@ -87,14 +87,14 @@ An advanced algorithm that aggregates signals from: To leverage the power of LLMs offline: 1. **Install Ollama** from [ollama.com](https://ollama.com). -2. **Pull a model**: `ollama pull qwen2.5-coder:3b` +2. **Pull a model**: `ollama pull qwen2.5-coder:7b` 3. **Initialize Gitmit config**: `gitmit init` 4. **Enable AI** in `.gitmit.json`: ```json { "engine": "ollama", "ollama": { - "model": "qwen2.5-coder:3b" + "model": "qwen2.5-coder:7b" } } ``` diff --git a/internal/config/config.go b/internal/config/config.go index 90fb43c..0dc8215 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -9,8 +9,8 @@ import ( // Config represents the structure of .gitmit.json type Config struct { - Engine string `json:"engine"` // heuristic or ollama - Ollama OllamaConfig `json:"ollama"` // Ollama specific config + Engine string `json:"engine"` // heuristic or ollama + Ollama OllamaConfig `json:"ollama"` // Ollama specific config TopicMappings map[string]string `json:"topicMappings"` KeywordMappings map[string]string `json:"keywordMappings"` ProjectType string `json:"projectType"` // go, nodejs, python, etc. @@ -36,7 +36,7 @@ func LoadConfig() (*Config, error) { cfg := &Config{ Engine: "heuristic", Ollama: OllamaConfig{ - Model: "qwen2.5-coder:3b", + Model: "qwen2.5-coder:7b", URL: "http://localhost:11434", Temperature: 0.2, },