Skip to content

Commit 98c043a

Browse files
fixed the issue with unused config variable
1 parent 2f92ad6 commit 98c043a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/ollama/ollama.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type OllamaResponse struct {
2121
Done bool `json:"done"`
2222
}
2323

24-
func GenerateCommitMessage(config *types.Config, changes string, url string, model string) (string, error) {
24+
func GenerateCommitMessage(_ *types.Config, changes string, url string, model string) (string, error) {
2525
// Use llama3:latest as the default model
2626
if model == "" {
2727
model = "llama3:latest"

0 commit comments

Comments
 (0)