Skip to content

Commit b07d8ad

Browse files
committed
fix: add missing Qwen Code provider to UI constants
- Import qwenCodeModels from @roo-code/types - Add qwen-code to MODELS_BY_PROVIDER mapping - Add Qwen Code to PROVIDERS list for UI dropdown This fixes the issue where Qwen Code was not appearing as a selectable provider in the settings UI
1 parent 7216726 commit b07d8ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

webview-ui/src/components/settings/constants.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
geminiModels,
1111
mistralModels,
1212
openAiNativeModels,
13+
qwenCodeModels,
1314
vertexModels,
1415
xaiModels,
1516
groqModels,
@@ -33,6 +34,7 @@ export const MODELS_BY_PROVIDER: Partial<Record<ProviderName, Record<string, Mod
3334
gemini: geminiModels,
3435
mistral: mistralModels,
3536
"openai-native": openAiNativeModels,
37+
"qwen-code": qwenCodeModels,
3638
vertex: vertexModels,
3739
xai: xaiModels,
3840
groq: groqModels,
@@ -55,6 +57,7 @@ export const PROVIDERS = [
5557
{ value: "moonshot", label: "Moonshot" },
5658
{ value: "openai-native", label: "OpenAI" },
5759
{ value: "openai", label: "OpenAI Compatible" },
60+
{ value: "qwen-code", label: "Qwen Code" },
5861
{ value: "vertex", label: "GCP Vertex AI" },
5962
{ value: "bedrock", label: "Amazon Bedrock" },
6063
{ value: "glama", label: "Glama" },

0 commit comments

Comments
 (0)