openclawapi 1.3.7 → 1.3.8
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/cli.js +2 -2
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -433,7 +433,7 @@ async function testConnection(paths) {
|
|
|
433
433
|
console.log(chalk.green(`\n✅ ${typeLabel} API 连接成功!`));
|
|
434
434
|
console.log(chalk.cyan(` 响应时间: ${latency}ms`));
|
|
435
435
|
console.log(chalk.yellow(` 模型回复: ${result.message}`));
|
|
436
|
-
console.log(chalk.gray(`\n💡
|
|
436
|
+
console.log(chalk.gray(`\n💡 配置已写入,请运行 openclaw gateway restart 使配置生效`));
|
|
437
437
|
} else {
|
|
438
438
|
console.log(chalk.red(`\n❌ ${typeLabel} API 连接失败`));
|
|
439
439
|
console.log(chalk.red(` 错误: ${result.error}`));
|
|
@@ -446,7 +446,7 @@ async function testConnection(paths) {
|
|
|
446
446
|
console.log(chalk.green(`\n✅ ${typeLabel} API 连接成功!`));
|
|
447
447
|
console.log(chalk.cyan(` 响应时间: ${latency}ms`));
|
|
448
448
|
console.log(chalk.yellow(` 模型回复: ${result.message}`));
|
|
449
|
-
console.log(chalk.gray(`\n💡
|
|
449
|
+
console.log(chalk.gray(`\n💡 配置已写入,请运行 openclaw gateway restart 使配置生效`));
|
|
450
450
|
} else {
|
|
451
451
|
console.log(chalk.red(`\n❌ ${typeLabel} API 连接失败`));
|
|
452
452
|
console.log(chalk.red(` 错误: ${result.error}`));
|