mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-09-28 06:06:38 +08:00
Update common.ts
This commit is contained in:
parent
0831be97ba
commit
e979421c8e
@ -55,7 +55,6 @@ export async function requestOpenai(req: NextRequest) {
|
||||
if (isAIFoundation && serverConfig.azureUrl) {
|
||||
// For AI Foundation, use the path directly without api-version
|
||||
baseUrl = serverConfig.azureUrl;
|
||||
path = "chat/completions";
|
||||
// path = req.nextUrl.pathname.replaceAll("/api/azure/", "");
|
||||
} else {
|
||||
const azureApiVersion =
|
||||
|
Loading…
Reference in New Issue
Block a user