fix: #2153 make sure isolated qwen model setting on switching mode settings (#2210)

* fix: #2153 make sure isolated qwen model setting on switch mode settings

* Re-add openainative

---------

Co-authored-by: 青炽 <hanyuntao.hyt@alibaba-inc.com>
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
This commit is contained in:
authored and GitHub committed 2025-03-12 11:26:49 -07:00
1 parent 24fe5c9c98
commit 4ade5daeff
2 files changed
+7

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
Fix issue with qwen model setting works incorrectly on switching Plan/Act mode settings
+2
View File
@@ -955,6 +955,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
case "gemini":
case "asksage":
case "openai-native":
case "qwen":
case "deepseek":
await this.updateGlobalState("previousModeModelId", apiConfiguration.apiModelId)
break
@@ -995,6 +996,7 @@ export class ClineProvider implements vscode.WebviewViewProvider {
case "gemini":
case "asksage":
case "openai-native":
case "qwen":
case "deepseek":
await this.updateGlobalState("apiModelId", newModelId)
break