api key won't work the way it's defined.
canedy opened this issue · comments
Bruce Canedy commented
It works if I hard card key, but I'm not sure it's pulling the process.env.OPENAI_API_KEY. Do you need to add this comment for copilot to build?
// import process.env.OPENAI_API_KEY from the .env file
require('dotenv').config();