Merge pull request #2598 from Yidadaa/Yidadaa-patch-1

main
Yifei Zhang 2 years ago committed by GitHub
commit 61852b4021
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,6 +20,10 @@ export async function requestOpenai(req: NextRequest) {
baseUrl = `${PROTOCOL}://${baseUrl}`;
}
if (baseUrl.endsWith('/')) {
baseUrl = baseUrl.slice(0, -1);
}
console.log("[Proxy] ", openaiPath);
console.log("[Base Url]", baseUrl);

Loading…
Cancel
Save