Versions in this module Expand all Collapse all v0 v0.1.1 May 7, 2025 Changes in this version type AgentType + const AgentTypeGemini + type GeminiClient struct + func NewGeminiClient(apiKey string) *GeminiClient + func (c *GeminiClient) GenerateCommitMessage(ctx context.Context, diff, language string) (string, error) v0.1.0 May 6, 2025 Changes in this version + func BuildConventionalCommitPrompt() string + func GeneratePrompt(language string) string + func ListAgentTypes() []string + type Agent interface + GenerateCommitMessage func(ctx context.Context, diff, language string) (string, error) + func NewAgent(agentType string, opts ...Option) (Agent, error) + type AgentFactory func(*config.Config) Agent + type AgentType string + const AgentTypeOpenAI + func (a AgentType) IsValid() bool + func (a AgentType) String() string + type OpenAIClient struct + func NewOpenAIClient(apiKey string) *OpenAIClient + func (c *OpenAIClient) GenerateCommitMessage(ctx context.Context, diff, language string) (string, error) + type Option func(*config.Config) + func WithAPIKey(apiKey string) Option