english-optimizer-cli 1.6.0 ā 1.6.1
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/test.js +5 -5
- package/dist/config/wizard.js +1 -1
- package/package.json +1 -1
package/dist/config/test.js
CHANGED
|
@@ -36,7 +36,7 @@ async function testConfiguration() {
|
|
|
36
36
|
console.log(chalk_1.default.cyan('š” To fix:'));
|
|
37
37
|
console.log(chalk_1.default.white(' 1. Visit https://open.bigmodel.cn/usercenter/finance'));
|
|
38
38
|
console.log(chalk_1.default.white(' 2. Recharge your account'));
|
|
39
|
-
console.log(chalk_1.default.white(' 3. Run test again:
|
|
39
|
+
console.log(chalk_1.default.white(' 3. Run test again: cao test\n'));
|
|
40
40
|
process.exit(1);
|
|
41
41
|
}
|
|
42
42
|
throw e;
|
|
@@ -60,13 +60,13 @@ async function testConfiguration() {
|
|
|
60
60
|
console.log(chalk_1.default.gray(' - Model may not be available'));
|
|
61
61
|
console.log(chalk_1.default.gray(' - API endpoint may have changed'));
|
|
62
62
|
console.log('\n' + chalk_1.default.cyan('Please check your API configuration:'));
|
|
63
|
-
console.log(chalk_1.default.white('
|
|
63
|
+
console.log(chalk_1.default.white(' cao config --setup\n'));
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
67
|
console.log(chalk_1.default.green.bold('š Your local Ollama is ready!\n'));
|
|
68
68
|
console.log(chalk_1.default.gray('You can start using:'));
|
|
69
|
-
console.log(chalk_1.default.white.bold('
|
|
69
|
+
console.log(chalk_1.default.white.bold(' cao\n'));
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
else {
|
|
@@ -86,9 +86,9 @@ async function testConfiguration() {
|
|
|
86
86
|
console.log(chalk_1.default.gray(' - API URL is incorrect'));
|
|
87
87
|
console.log(chalk_1.default.gray(' - Network connection failed'));
|
|
88
88
|
console.log('\n' + chalk_1.default.cyan('Please check your configuration:'));
|
|
89
|
-
console.log(chalk_1.default.white('
|
|
89
|
+
console.log(chalk_1.default.white(' cao config --setup'));
|
|
90
90
|
console.log(chalk_1.default.gray('\nOr view current config:'));
|
|
91
|
-
console.log(chalk_1.default.white('
|
|
91
|
+
console.log(chalk_1.default.white(' cao config\n'));
|
|
92
92
|
}
|
|
93
93
|
process.exit(1);
|
|
94
94
|
}
|
package/dist/config/wizard.js
CHANGED
|
@@ -178,6 +178,6 @@ async function runConfigWizard() {
|
|
|
178
178
|
console.log(chalk_1.default.cyan(`YAML Prompt: ${answers.enableYAMLPrompt ? 'Enabled' : 'Disabled'}`));
|
|
179
179
|
console.log(chalk_1.default.gray('ā'.repeat(50)));
|
|
180
180
|
console.log(chalk_1.default.green('\nš Ready to use! Run:'));
|
|
181
|
-
console.log(chalk_1.default.white.bold('
|
|
181
|
+
console.log(chalk_1.default.white.bold(' cao\n'));
|
|
182
182
|
}
|
|
183
183
|
//# sourceMappingURL=wizard.js.map
|