mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-13 12:43:42 +08:00
fix: #305
This commit is contained in:
@@ -260,7 +260,7 @@ export function getHeaders(ignoreHeaders?: boolean) {
|
||||
: isAlibaba
|
||||
? accessStore.alibabaApiKey
|
||||
: accessStore.openaiApiKey;
|
||||
if (accessStore.isUseOpenAIEndpointForAllModels) {
|
||||
if (accessStore.isUseOpenAIEndpointForAllModels || ignoreHeaders) {
|
||||
return {
|
||||
isGoogle: false,
|
||||
isAzure: false,
|
||||
|
||||
Reference in New Issue
Block a user