openclawapi 1.3.5 → 1.3.6

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 +3 -3
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -462,8 +462,8 @@ function testClaudeApi(baseUrl, apiKey, model) {
462
462
 
463
463
  const postData = JSON.stringify({
464
464
  model: model || 'claude-sonnet-4-5',
465
- max_tokens: 50,
466
- messages: [{ role: 'user', content: 'Hi, reply with "OK" only.' }]
465
+ max_tokens: 100,
466
+ messages: [{ role: 'user', content: '你是什么模型?请简短回答。' }]
467
467
  });
468
468
 
469
469
  const options = {
@@ -522,7 +522,7 @@ function testCodexApi(baseUrl, apiKey, model) {
522
522
 
523
523
  const postData = JSON.stringify({
524
524
  model: model || 'gpt-5.2',
525
- input: 'Hi, reply with "OK" only.'
525
+ input: '你是什么模型?请简短回答。'
526
526
  });
527
527
 
528
528
  const options = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclawapi",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "description": "跨平台 OpenClaw/Clawdbot 配置管理工具 - 管理中转地址、模型切换、API Keys、测速优化",
5
5
  "main": "cli.js",
6
6
  "bin": {