Skip to content

Commit 3ee06fd

Browse files
Gkrumbach07claude
andauthored
fix: use valid model ID for default LLM settings (#876)
## Summary - Default model was `"sonnet"` which isn't a valid model manifest ID - Changed to `"claude-sonnet-4-5"` which matches the manifest - Fixes 400 errors when creating sessions without an explicit model (e.g. CI workflows via `ambient-action`) ## Test plan - [ ] Create a session without specifying a model — should default to `claude-sonnet-4-5` - [ ] Verify PR fixer CI workflow can create sessions successfully 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 42f7927 commit 3ee06fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/backend/handlers/sessions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -608,7 +608,7 @@ func CreateSession(c *gin.Context) {
608608

609609
// Set defaults for LLM settings if not provided
610610
llmSettings := types.LLMSettings{
611-
Model: "sonnet",
611+
Model: "claude-sonnet-4-5",
612612
Temperature: 0.7,
613613
MaxTokens: 4000,
614614
}

0 commit comments

Comments
 (0)