I’ve a Next.js App and I’m receiving the following error when trying to access a custom GPT (the custom GPT URL was removed for this post). When using the standard OpenAI URL (https://api.openai.com), the App works fine. What needs to be done in order to access a custom GPT from a Next.js App? It seems I need to add an action to the route for an internal Custom GPT, and I don’t know how that can be done. I’m using the 4o mini model.
Error: You made a POST request to \"/g/g-xyz\" but did not provide an
action
for route \"routes/g.$gizmoId._index\", so there is no way to handle the request