@wu529778790/open-im 1.7.1-beta.8 → 1.7.1-beta.9
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/dist/config.js +4 -3
- package/package.json +1 -1
package/dist/config.js
CHANGED
|
@@ -400,8 +400,9 @@ export function loadConfig() {
|
|
|
400
400
|
'方式 2:运行配置向导',
|
|
401
401
|
' open-im init',
|
|
402
402
|
'',
|
|
403
|
-
'方式 3
|
|
404
|
-
'
|
|
403
|
+
'方式 3:编辑配置文件',
|
|
404
|
+
' ~/.open-im/config.json: tools.claude.model = "..."',
|
|
405
|
+
' ~/.claude/settings.json: env.ANTHROPIC_MODEL = "..."(与 Claude Code 共用)',
|
|
405
406
|
'',
|
|
406
407
|
].join('\n');
|
|
407
408
|
throw new Error(errorMsg);
|
|
@@ -608,7 +609,7 @@ export function loadConfig() {
|
|
|
608
609
|
claudeTimeoutMs,
|
|
609
610
|
codexTimeoutMs,
|
|
610
611
|
codebuddyTimeoutMs,
|
|
611
|
-
claudeModel: process.env.
|
|
612
|
+
claudeModel: process.env.ANTHROPIC_MODEL ?? tc.model,
|
|
612
613
|
logDir,
|
|
613
614
|
logLevel,
|
|
614
615
|
platforms,
|