Skip to content

Commit 0f3b115

Browse files
committed
chore(config): update default model to claude-3-7-sonnet-latest
1 parent 3a8e9c6 commit 0f3b115

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/configManager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export class ConfigManager {
2121
"test",
2222
]
2323
private static readonly defaultMaxTokens = 1024
24-
private static readonly defaultModel = "claude-3-5-haiku-latest"
24+
private static readonly defaultModel = "claude-3-7-sonnet-latest"
2525
private static readonly defaultTemperature = 0.3
2626

2727
getConfig(): CommitConfig {

test/configurationEdgeCases.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe("Configuration Edge Cases", () => {
6060

6161
// Reset config for each test
6262
mockConfig = {
63-
model: "claude-3-5-haiku-latest",
63+
model: "claude-3-7-sonnet-latest",
6464
maxTokens: 1024,
6565
temperature: 0.3,
6666
allowedTypes: ["feat", "fix", "refactor", "chore", "docs", "style", "test", "perf", "ci"],
@@ -129,7 +129,7 @@ describe("Configuration Edge Cases", () => {
129129

130130
expect(mockAnthropicCreate).toHaveBeenCalledWith(
131131
expect.objectContaining({
132-
model: "claude-3-5-haiku-latest",
132+
model: "claude-3-7-sonnet-latest",
133133
}),
134134
)
135135
})

0 commit comments

Comments
 (0)