diff --git a/supabase/functions/ai-structured/index.ts b/supabase/functions/ai-structured/index.ts index c549920..8242d7d 100644 --- a/supabase/functions/ai-structured/index.ts +++ b/supabase/functions/ai-structured/index.ts @@ -1,6 +1,7 @@ // supabase/functions/ai-structured/index.ts import OpenAI from "jsr:@openai/openai"; -import { createClient } from "jsr:@supabase/supabase-js"; +import "jsr:@supabase/functions-js/edge-runtime.d.ts"; + const corsHeaders = { "Access-Control-Allow-Origin": "*",