Skip to content

Commit

Permalink
fix: can't use apiKey flag
Browse files Browse the repository at this point in the history
  • Loading branch information
shulandmimi committed Mar 5, 2023
1 parent 0ed1ad0 commit 7921b52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function main() {
default: true
})
.option('-t, --timeout', 'Timeout in milliseconds')
.option('-k, --apiKey', 'OpenAI API key')
.option('-k, --apiKey [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
Expand Down

0 comments on commit 7921b52

Please sign in to comment.