Merge pull request #74 from shengsuan/fix_mpm

增加获取api_key 失败提醒
This commit is contained in:
HybridTalentComputing authored and GitHub committed 2026-02-03 18:12:05 +08:00
commit eeceb74e77
6 files changed
+16 -18

No files matched your search

-5
View File
@@ -1,5 +0,0 @@
---
"cline-chinese": patch
---
Fix Workspace and Favorites history filters to work independently instead of being mutually exclusive
-5
View File
@@ -1,5 +0,0 @@
---
"cline-chinese": patch
---
Add a new api provider.
-5
View File
@@ -1,5 +0,0 @@
---
"cline-chinese": patch
---
fix regression that broke JSON parsing for SAP AI Core provider in native API mode for claude models
+8 -1
View File
@@ -1,12 +1,19 @@
# Changelog
## 3.46.7
### Patch Changes
- 99c8571: Fix Workspace and Favorites history filters to work independently instead of being mutually exclusive
- cb97c04: Add a new api provider.
- ac01e69: fix regression that broke JSON parsing for SAP AI Core provider in native API mode for claude models
## [3.46.1]
### Fixed
- Remove GLM 4.6 from free models
## [3.46.0]
### Added
+1 -2
View File
@@ -113,8 +113,7 @@
},
"css": {
"parser": {
"cssModules": false,
"tailwindDirectives": true
"cssModules": false
}
},
"files": {
+7
View File
@@ -736,6 +736,13 @@ export class Controller {
if (res.data && res.data.data && res.data.data.api_key) {
shengSuanYunApiKey = res.data.data.api_key
shengSuanYunToken = res.data.data.jwt_token
} else if (!res.data.data.api_key) {
shengSuanYunToken = res.data.data.jwt_token
shengSuanYunApiKey = ""
HostProvider.window.showMessage({
type: ShowMessageType.ERROR,
message: "登录账户成功,获取API_Key 失败,请先登录胜算云控制台创建 API_KEY 。",
})
} else {
throw new Error("Invalid response from handleShengSuanYunCallback()", { cause: res })
}