@aiyiran/myclaw 1.0.142 → 1.0.144
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/inject-zai.js +2 -2
- package/package.json +1 -1
package/inject-zai.js
CHANGED
|
@@ -243,12 +243,12 @@ function run(cliArgs) {
|
|
|
243
243
|
|
|
244
244
|
// 默认聊天模型
|
|
245
245
|
config.agents.defaults.model = {
|
|
246
|
-
primary: "zai/glm-5
|
|
246
|
+
primary: "zai/glm-5"
|
|
247
247
|
};
|
|
248
248
|
|
|
249
249
|
// 白名单: 增量添加,不覆盖已有模型
|
|
250
250
|
if (!config.agents.defaults.models) config.agents.defaults.models = {};
|
|
251
|
-
config.agents.defaults.models["zai/glm-5
|
|
251
|
+
config.agents.defaults.models["zai/glm-5"] = {};
|
|
252
252
|
|
|
253
253
|
writeConfig(config, configPath);
|
|
254
254
|
|