forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #3372 from H0llyW00dzZ/fixserverside
This commit is contained in:
commit
03756e364a
@ -30,7 +30,10 @@ export async function requestOpenai(req: NextRequest) {
|
|||||||
|
|
||||||
console.log("[Proxy] ", path);
|
console.log("[Proxy] ", path);
|
||||||
console.log("[Base Url]", baseUrl);
|
console.log("[Base Url]", baseUrl);
|
||||||
|
// this fix [Org ID] undefined in server side if not using custom point
|
||||||
|
if (serverConfig.openaiOrgId !== undefined) {
|
||||||
console.log("[Org ID]", serverConfig.openaiOrgId);
|
console.log("[Org ID]", serverConfig.openaiOrgId);
|
||||||
|
}
|
||||||
|
|
||||||
const timeoutId = setTimeout(
|
const timeoutId = setTimeout(
|
||||||
() => {
|
() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user