File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -87,14 +87,14 @@ An advanced algorithm that aggregates signals from:
8787To leverage the power of LLMs offline:
8888
89891 . ** Install Ollama** from [ ollama.com] ( https://ollama.com ) .
90- 2 . ** Pull a model** : ` ollama pull qwen2.5-coder:3b `
90+ 2 . ** Pull a model** : ` ollama pull qwen2.5-coder:7b `
91913 . ** Initialize Gitmit config** : ` gitmit init `
92924 . ** Enable AI** in ` .gitmit.json ` :
9393 ``` json
9494 {
9595 "engine" : " ollama" ,
9696 "ollama" : {
97- "model" : " qwen2.5-coder:3b "
97+ "model" : " qwen2.5-coder:7b "
9898 }
9999 }
100100 ```
Original file line number Diff line number Diff line change 99
1010// Config represents the structure of .gitmit.json
1111type Config struct {
12- Engine string `json:"engine"` // heuristic or ollama
13- Ollama OllamaConfig `json:"ollama"` // Ollama specific config
12+ Engine string `json:"engine"` // heuristic or ollama
13+ Ollama OllamaConfig `json:"ollama"` // Ollama specific config
1414 TopicMappings map [string ]string `json:"topicMappings"`
1515 KeywordMappings map [string ]string `json:"keywordMappings"`
1616 ProjectType string `json:"projectType"` // go, nodejs, python, etc.
@@ -36,7 +36,7 @@ func LoadConfig() (*Config, error) {
3636 cfg := & Config {
3737 Engine : "heuristic" ,
3838 Ollama : OllamaConfig {
39- Model : "qwen2.5-coder:3b " ,
39+ Model : "qwen2.5-coder:7b " ,
4040 URL : "http://localhost:11434" ,
4141 Temperature : 0.2 ,
4242 },
You can’t perform that action at this time.
0 commit comments