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.
- package/cli.js +3 -3
- 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:
|
|
466
|
-
messages: [{ role: 'user', content: '
|
|
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: '
|
|
525
|
+
input: '你是什么模型?请简短回答。'
|
|
526
526
|
});
|
|
527
527
|
|
|
528
528
|
const options = {
|