Nextjs Pages router – OpenAI GPT assistant not receiving output
I’m working on a codebase that uses the Next.js Pages Router
. However, I can’t seem to find any documentation supporting the use of the useAssistant
hook from the Vercel ai/sdk with the Pages
Router
. I understand that it’s recommended to use the App Router API for this purpose, but for this project, I’ve been asked to stick with the Pages.