Am still getting the error after implementing this here is the error i got page: '/api/question' } 11 | } 12 |
13 | const openai = newOpenAI({ | ^ 14 | apiKey: process.env.OpenAI_API_KEY, 15 | }) 16 | ✓ Compiled /_error in 424ms (1044 modules) POST /api/question 500 in 935ms