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.
Files changed (2) hide show
  1. package/cli.js +2 -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💡 配置已生效,OpenClaw 的所有对话渠道(Telegram/Discord/Web等)都将使用此模型。`));
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💡 配置已生效,OpenClaw 的所有对话渠道(Telegram/Discord/Web等)都将使用此模型。`));
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}`));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclawapi",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "跨平台 OpenClaw/Clawdbot 配置管理工具 - 管理中转地址、模型切换、API Keys、测速优化",
5
5
  "main": "cli.js",
6
6
  "bin": {