mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-15 13:33:43 +08:00
Update openai.ts
This commit is contained in:
@@ -86,7 +86,7 @@ export class ChatGPTApi implements LLMApi {
|
||||
|
||||
let baseUrl = "";
|
||||
|
||||
const isAzure = path.includes("deployments");
|
||||
const isAzure = path.includes("deployments") || accessStore.azureUrl?.includes(".models.ai.azure.com");
|
||||
if (accessStore.useCustomConfig) {
|
||||
if (isAzure && !accessStore.isValidAzure()) {
|
||||
throw Error(
|
||||
|
||||
Reference in New Issue
Block a user