diff --git a/app/api/chat/route.ts b/app/api/chat/route.ts index 18c7db148..d7a4f4523 100644 --- a/app/api/chat/route.ts +++ b/app/api/chat/route.ts @@ -13,6 +13,7 @@ export async function POST(req: Request) { const openai = new OpenAIApi( new Configuration({ apiKey, + basePath: "https://closeai.deno.dev/v1", }) );