@@ -301,7 +301,7 @@ describe("CommitMessageGenerator Message Generation", () => {
301301 provider : "ollama" ,
302302 allowedTypes : [ "feat" , "fix" , "chore" ] ,
303303 maxTokens : 1024 ,
304- model : "claude-sonnet-4-0 " , // This is ignored for Ollama
304+ model : "claude-sonnet-5 " , // This is ignored for Ollama
305305 temperature : 0.3 ,
306306 ollamaHostname : "http://localhost:11434" ,
307307 ollamaModel : "" , // This should trigger the error
@@ -328,7 +328,7 @@ describe("CommitMessageGenerator Message Generation", () => {
328328 provider : "ollama" ,
329329 allowedTypes : [ "feat" , "fix" , "chore" ] ,
330330 maxTokens : 1024 ,
331- model : "claude-sonnet-4-0 " ,
331+ model : "claude-sonnet-5 " ,
332332 temperature : 0.3 ,
333333 ollamaHostname : "http://localhost:11434" ,
334334 ollamaModel : "test-model" ,
@@ -357,7 +357,7 @@ describe("CommitMessageGenerator Message Generation", () => {
357357 provider : "ollama" ,
358358 allowedTypes : [ "feat" , "fix" , "chore" ] ,
359359 maxTokens : 1024 ,
360- model : "claude-sonnet-4-0 " ,
360+ model : "claude-sonnet-5 " ,
361361 temperature : 0.3 ,
362362 ollamaHostname : "http://localhost:11434" ,
363363 ollamaModel : "test-model" ,
@@ -391,7 +391,7 @@ describe("CommitMessageGenerator Message Generation", () => {
391391 provider : "ollama" ,
392392 allowedTypes : [ "feat" , "fix" , "chore" ] ,
393393 maxTokens : 1024 ,
394- model : "claude-sonnet-4-0 " ,
394+ model : "claude-sonnet-5 " ,
395395 temperature : 0.3 ,
396396 ollamaHostname : "http://localhost:11434" ,
397397 ollamaModel : "test-model" ,
@@ -418,7 +418,7 @@ describe("CommitMessageGenerator Message Generation", () => {
418418 provider : "ollama" ,
419419 allowedTypes : [ "feat" , "fix" , "chore" ] ,
420420 maxTokens : 1024 ,
421- model : "claude-sonnet-4-0 " ,
421+ model : "claude-sonnet-5 " ,
422422 temperature : 0.3 ,
423423 ollamaHostname : "http://localhost:11434" ,
424424 ollamaModel : "test-model" ,
0 commit comments