Skip to content

Commit

Permalink
fix: use correct env var
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelass committed Apr 6, 2023
1 parent df13fc2 commit e54e786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ Examples
const spinner = ora("Evolving");

const configuration = new Configuration({
apiKey: process.env.OPENAI_SECRET,
apiKey: process.env.OPENAI_API_KEY,
});

export const openai = new OpenAIApi(configuration);
Expand Down

0 comments on commit e54e786

Please sign in to comment.