This commit is contained in:
josc146
2024-03-05 00:32:17 +08:00
parent 4a25b03b6c
commit dd1587ccae
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -346,7 +346,6 @@ export function isUsingGithubThirdPartyApi(configOrSession) {
export function isSupportBalance(configOrSession) {
return (
isUsingAzureOpenAi(configOrSession) ||
gptApiModelKeys.includes(configOrSession.modelName) ||
chatgptApiModelKeys.includes(configOrSession.modelName)
)
+1 -1
View File
@@ -214,7 +214,7 @@ export function GeneralPart({ config, updateConfig }) {
{config.apiKey.length === 0 ? (
<a
href={
'keyGenerateUrl' in currentModel
currentModel && 'keyGenerateUrl' in currentModel
? currentModel.keyGenerateUrl
: 'https://platform.openai.com/account/api-keys'
}