From dd1587ccae62e8c1aa403daecebc77ae6b44a3cc Mon Sep 17 00:00:00 2001 From: josc146 Date: Tue, 5 Mar 2024 00:32:17 +0800 Subject: [PATCH] fix 0d7d7354 --- src/config/index.mjs | 1 - src/popup/sections/GeneralPart.jsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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 ? (