File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
webview-ui/src/components/ui/hooks Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -255,7 +255,8 @@ function getSelectedModel({
255255 const info = mistralModels [ id as keyof typeof mistralModels ]
256256 return { id, info }
257257 }
258- case "openai" : {
258+ case "openai" :
259+ case "openai-compatible" : {
259260 const id = apiConfiguration . openAiModelId ?? ""
260261 const info = apiConfiguration ?. openAiCustomModelInfo ?? openAiModelInfoSaneDefaults
261262 return { id, info }
@@ -360,7 +361,7 @@ function getSelectedModel({
360361 // case "human-relay":
361362 // case "fake-ai":
362363 default : {
363- provider satisfies "anthropic" | "gemini-cli" | "qwen-code" | " human-relay" | "fake-ai"
364+ provider satisfies "anthropic" | "gemini-cli" | "human-relay" | "fake-ai"
364365 const id = apiConfiguration . apiModelId ?? anthropicDefaultModelId
365366 const baseInfo = anthropicModels [ id as keyof typeof anthropicModels ]
366367
You can’t perform that action at this time.
0 commit comments