package
Version:
v1.4.3
Opens a new window with list of versions in this module.
Published: Oct 12, 2025
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GenerateCommitMessage uses a locally hosted Ollama model to draft a commit
message from repository changes and optional style guidance.
type OllamaRequest struct {
Model string `json:"model"`
Prompt string `json:"prompt"`
}
OllamaRequest captures the prompt payload sent to an Ollama HTTP endpoint.
type OllamaResponse struct {
Response string `json:"response"`
Done bool `json:"done"`
}
OllamaResponse represents the non-streaming response from Ollama.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.