Skip to content

Commit cad4c8d

Browse files
authored
Merge pull request #35 from andev0x/optimization/func
optimization/func
2 parents 656dfb0 + 5758565 commit cad4c8d

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,14 +87,14 @@ An advanced algorithm that aggregates signals from:
8787
To leverage the power of LLMs offline:
8888

8989
1. **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`
9191
3. **Initialize Gitmit config**: `gitmit init`
9292
4. **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
```

internal/config/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99

1010
// Config represents the structure of .gitmit.json
1111
type 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
},

0 commit comments

Comments
 (0)