Skip to content

Commit 2bd3b91

Browse files
daniel-lxsCopilot
andauthored
Update webview-ui/src/components/ui/hooks/useSelectedModel.ts
Co-authored-by: Copilot <[email protected]>
1 parent 552e04e commit 2bd3b91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/ui/hooks/useSelectedModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ function getSelectedModel({
205205
// Claude Code models extend anthropic models but with images and prompt caching disabled
206206
const id = apiConfiguration.apiModelId ?? claudeCodeDefaultModelId
207207
const info = claudeCodeModels[id as keyof typeof claudeCodeModels]
208-
return { id, info }
208+
return { id, info: { ...openAiModelInfoSaneDefaults, ...info } }
209209
}
210210
// case "anthropic":
211211
// case "human-relay":

0 commit comments

Comments
 (0)