diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-12 14:27:44 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-12 14:27:44 +0300 |
| commit | 4dc03f26268cfe644a4a8c259f2b0925af3c3465 (patch) | |
| tree | 50d4cfb2f93830f5d664bbe98438c520a1321345 | |
| parent | 1bf3a6227f76644ffc46070087bab973a68829d2 (diff) | |
feat: use sonnet-4 as primary model for AI release notes
- Changed from sonnet-3.5 to sonnet-4 as the primary model
- Falls back to sonnet-3.5, then default model if needed
- Sonnet-4 is newer and more capable
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
| -rw-r--r-- | internal/release/release.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/release/release.go b/internal/release/release.go index ec4eaae..7349bee 100644 --- a/internal/release/release.go +++ b/internal/release/release.go @@ -330,15 +330,15 @@ func (m *Manager) GenerateAIReleaseNotes(repoPath, repoName, tag string, allTags // Run Claude CLI fmt.Println(" Running Claude CLI command:") - fmt.Printf(" claude --model sonnet-3.5 <prompt>\n") + fmt.Printf(" claude --model sonnet-4 <prompt>\n") fmt.Printf(" Prompt length: %d characters\n", len(prompt.String())) - cmd := exec.Command("claude", "--model", "sonnet-3.5", prompt.String()) + cmd := exec.Command("claude", "--model", "sonnet-4", prompt.String()) output, err := cmd.Output() if err != nil { - // Try with sonnet-4 model - fmt.Println(" Trying with sonnet-4 model...") - cmd = exec.Command("claude", "--model", "sonnet-4", prompt.String()) + // Try with sonnet-3.5 model + fmt.Println(" Trying with sonnet-3.5 model...") + cmd = exec.Command("claude", "--model", "sonnet-3.5", prompt.String()) output, err = cmd.Output() if err != nil { // Try with default model |
