Hey guys, I have had an error for the past few hours related to the gpt.ts file configuration and after inspecting through the setup, I noticed that this:
The initial openai setup:
import { Configuration, OpenAIApi } from 'openai'; const configuration = new Configuration({ apiKey: process.env.OPENAI_API_KEY, }); const openai = new OpenAIApi(configuration);
The error I was getting:

Hey guys, I have had an error for the past few hours related to the gpt.ts file configuration and after inspecting through the setup, I noticed that this:
The initial
openaisetup:import { Configuration, OpenAIApi } from 'openai'; const configuration = new Configuration({ apiKey: process.env.OPENAI_API_KEY, }); const openai = new OpenAIApi(configuration);The error I was getting:
