SupabaseS
Supabase11mo ago
erbs23

Edge Function Log Issue - OpenAI API "Shutdown"

Looking for some help with an Edge Function log issue.

I have simple AIchat components using the OpenAI API in my web app (i.e. build an itinerary for me, suggest songs based on this genre). The features was working a few days ago, but somewhere along the way I noticed that they aren't working during my regression testing. I have been trying to debug this for over 4 hours and asking the Lovable AI chat how to resolve or even rebuild the components and reconnecting the OpenAI API in Supabase multiple times.

After calling the API many times, the last entry in the Edge Function log is always "Shutdown". I also asked for better error or log handling, but this is all that it gives me.

I have also rebuilt the Edge Functions, and still not working.

Can someone help?
Was this page helpful?