diff --git a/src/config/index.mjs b/src/config/index.mjs index ddc83c08..c48bd29d 100644 --- a/src/config/index.mjs +++ b/src/config/index.mjs @@ -346,7 +346,6 @@ export function isUsingGithubThirdPartyApi(configOrSession) { export function isSupportBalance(configOrSession) { return ( - isUsingAzureOpenAi(configOrSession) || gptApiModelKeys.includes(configOrSession.modelName) || chatgptApiModelKeys.includes(configOrSession.modelName) ) diff --git a/src/popup/sections/GeneralPart.jsx b/src/popup/sections/GeneralPart.jsx index 516deb4d..39624d5c 100644 --- a/src/popup/sections/GeneralPart.jsx +++ b/src/popup/sections/GeneralPart.jsx @@ -214,7 +214,7 @@ export function GeneralPart({ config, updateConfig }) { {config.apiKey.length === 0 ? (