style: prettier code

pull/511/head
阿森 2023-03-31 16:31:20 +08:00
rodzic 79a9d50ec0
commit de78787bc9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -37,7 +37,7 @@ async function main() {
'Unique name for the conversation'
)
.action(async (prompt, options) => {
const apiOrg = options.apiOrg|| process.env.OPENAI_API_ORG
const apiOrg = options.apiOrg || process.env.OPENAI_API_ORG
const apiKey = options.apiKey || process.env.OPENAI_API_KEY
if (!apiKey) {
console.error('error: either set OPENAI_API_KEY or use --apiKey\n')