@@ -11,7 +11,7 @@ import (
1111)
1212
1313const (
14- DefaultProvider = "openai "
14+ DefaultProvider = "phind "
1515 DefaultOpenAIModel = "chatgpt-4o-latest"
1616 DefaultGeminiModel = "models/gemini-2.0-flash"
1717 DefaultAnthropicModel = "claude-3-5-sonnet-latest"
@@ -32,16 +32,15 @@ type CommitTypeConfig struct {
3232}
3333
3434type Config struct {
35- Prompt string `yaml:"prompt,omitempty"`
36- CommitType string `yaml:"commitType,omitempty"`
37- Template string `yaml:"template,omitempty"`
38- SemanticRelease bool `yaml:"semanticRelease,omitempty"`
39- InteractiveSplit bool `yaml:"interactiveSplit,omitempty"`
40- EnableEmoji bool `yaml:"enableEmoji,omitempty"`
41- Provider string `yaml:"provider,omitempty" validate:"omitempty,oneof=openai gemini anthropic deepseek phind"`
42- // Instead of a simple []string, we store an array of objects with {type, emoji}
43- CommitTypes []CommitTypeConfig `yaml:"commitTypes,omitempty"`
44- LockFiles []string `yaml:"lockFiles,omitempty"`
35+ Prompt string `yaml:"prompt,omitempty"`
36+ CommitType string `yaml:"commitType,omitempty"`
37+ Template string `yaml:"template,omitempty"`
38+ SemanticRelease bool `yaml:"semanticRelease,omitempty"`
39+ InteractiveSplit bool `yaml:"interactiveSplit,omitempty"`
40+ EnableEmoji bool `yaml:"enableEmoji,omitempty"`
41+ Provider string `yaml:"provider,omitempty" validate:"omitempty,oneof=openai gemini anthropic deepseek phind"`
42+ CommitTypes []CommitTypeConfig `yaml:"commitTypes,omitempty"`
43+ LockFiles []string `yaml:"lockFiles,omitempty"`
4544
4645 OpenAIAPIKey string `yaml:"openAiApiKey,omitempty"`
4746 OpenAIModel string `yaml:"openaiModel,omitempty"`
0 commit comments