diff --git a/app/api/common.ts b/app/api/common.ts index dd1cc0bb80e..c168bfc6af5 100644 --- a/app/api/common.ts +++ b/app/api/common.ts @@ -98,6 +98,7 @@ export async function requestOpenai(req: NextRequest) { } try { + console.log("[Fetch] fetchOptions:", JSON.stringify(fetchOptions)); const res = await fetch(fetchUrl, fetchOptions); // to prevent browser prompt for credentials