base_parts_ai 1.0.51 → 1.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/setapi_cc.js +6 -4
- package/package.json +1 -1
package/lib/setapi_cc.js
CHANGED
|
@@ -215,10 +215,12 @@ async function setapiCc(cmd, buildCfg) {
|
|
|
215
215
|
var currentVer = buildCfg.claudeVersion || '';
|
|
216
216
|
ensureClaudeVersion(requiredVer, currentVer);
|
|
217
217
|
|
|
218
|
-
// 如果是22版本,清除大小标记
|
|
219
|
-
if (settings.model && requiredVer === '2.1.22') {
|
|
220
|
-
|
|
221
|
-
}
|
|
218
|
+
// // 如果是22版本,清除大小标记
|
|
219
|
+
// if (settings.model && requiredVer === '2.1.22') {
|
|
220
|
+
// settings.model = settings.model.split('[')[0];
|
|
221
|
+
// }
|
|
222
|
+
// 删除以前选择的模型
|
|
223
|
+
delete settings.model;
|
|
222
224
|
|
|
223
225
|
// 写入 settings.json
|
|
224
226
|
utils.writeJsonFile(buildCfg.claudeSettingsPath, settings);
|