I am working on a simple chat gpt app that takes messy meeting notes and organizes them via chat gpt api. I am new to Next.js and Vercel and am doing this mostly to learn.
Project: project github
This code works just fine on my localhost including the api call, however, when I deploy on Vercel I am getting "Failed to load resource: the server responded with a status of 504 ()"
Additional information here is a link to the current deployment: vercel deployment
I did add the environmental vars to the app settings in Vercel before I deployed the app and I have confirmed that the api key is valid, syntax is correct, there are no spaces in the api key or name.
I have read through the documentation on this and am not seeing what the issue is here and I have run out of ideas on how to fix. Hopefully someone out there has an idea.