smewai 0.1.1 → 0.1.2
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/README.md +4 -0
- package/README.zh-CN.md +4 -0
- package/cli.js +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/README.zh-CN.md
CHANGED
package/cli.js
CHANGED
|
@@ -17,6 +17,8 @@ function extractApiKeyArg() {
|
|
|
17
17
|
|
|
18
18
|
async function getApiKeyInput() {
|
|
19
19
|
console.log('');
|
|
20
|
+
logInfo('请先前往 https://smew.ai/keys 创建或复制你的 API Key');
|
|
21
|
+
console.log('');
|
|
20
22
|
|
|
21
23
|
let response;
|
|
22
24
|
try {
|
|
@@ -75,6 +77,8 @@ async function main() {
|
|
|
75
77
|
await checkForUpdates(cliVersion);
|
|
76
78
|
|
|
77
79
|
logInfo(`Smew Codex 一键配置 v${cliVersion}`);
|
|
80
|
+
logInfo('创建 API Key: https://smew.ai/keys');
|
|
81
|
+
console.log('');
|
|
78
82
|
|
|
79
83
|
const quickApiKey = extractApiKeyArg();
|
|
80
84
|
if (quickApiKey) {
|