From e7feabb4d1eaf41031079e2fbf433ab4012f3ded Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Mon, 6 Mar 2023 01:06:17 -0600 Subject: [PATCH] fix: cli apiKey --- legacy/bin/cli.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/legacy/bin/cli.js b/legacy/bin/cli.js index 7518623a..35593733 100755 --- a/legacy/bin/cli.js +++ b/legacy/bin/cli.js @@ -30,8 +30,11 @@ async function main() { default: true }) .option('-t, --timeout', 'Timeout in milliseconds') - .option('-k, --apiKey [apiKey]', 'OpenAI API key') - .option('-n, --conversationName', 'Unique name for the conversation') + .option('-k, --apiKey ', 'OpenAI API key') + .option( + '-n, --conversationName ', + 'Unique name for the conversation' + ) .action(async (prompt, options) => { const apiKey = options.apiKey || process.env.OPENAI_API_KEY if (!apiKey) {