Skip to content

Commit fe48607

Browse files
committed
feat: add qwen-code models to MODELS_BY_PROVIDER
- Import qwenCodeModels from providers - Remove qwen-code from the Exclude list in MODELS_BY_PROVIDER type - Add qwen-code entry with its models to MODELS_BY_PROVIDER object
1 parent 3f2f724 commit fe48607

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/types/src/provider-settings.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ import {
1818
mistralModels,
1919
moonshotModels,
2020
openAiNativeModels,
21+
qwenCodeModels,
2122
rooModels,
2223
sambaNovaModels,
2324
vertexModels,
@@ -447,7 +448,7 @@ export const getApiProtocol = (provider: ProviderName | undefined, modelId?: str
447448
}
448449

449450
export const MODELS_BY_PROVIDER: Record<
450-
Exclude<ProviderName, "fake-ai" | "human-relay" | "gemini-cli" | "lmstudio" | "openai" | "ollama" | "qwen-code">,
451+
Exclude<ProviderName, "fake-ai" | "human-relay" | "gemini-cli" | "lmstudio" | "openai" | "ollama">,
451452
{ id: ProviderName; label: string; models: string[] }
452453
> = {
453454
anthropic: {
@@ -513,6 +514,7 @@ export const MODELS_BY_PROVIDER: Record<
513514
label: "OpenAI",
514515
models: Object.keys(openAiNativeModels),
515516
},
517+
"qwen-code": { id: "qwen-code", label: "Qwen Code", models: Object.keys(qwenCodeModels) },
516518
roo: { id: "roo", label: "Roo", models: Object.keys(rooModels) },
517519
sambanova: {
518520
id: "sambanova",

0 commit comments

Comments
 (0)