From 8669696a4b8a02e19bd39259060f097b90d8ab1a Mon Sep 17 00:00:00 2001 From: andev0x Date: Fri, 12 Jun 2026 00:14:51 +0700 Subject: [PATCH 1/2] refactor(config): update Ollama model from qwen2.5-coder:3b to qwen2.5-coder:7b --- internal/config/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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, }, From 57585653906757c75ed1e868b41e8cd30c0ebd69 Mon Sep 17 00:00:00 2001 From: andev0x Date: Fri, 12 Jun 2026 00:17:41 +0700 Subject: [PATCH 2/2] docs: refactor diff summarization --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" } } ```