mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-06-27 20:20:58 +08:00
fix 0d7d7354
This commit is contained in:
@@ -346,7 +346,6 @@ export function isUsingGithubThirdPartyApi(configOrSession) {
|
||||
|
||||
export function isSupportBalance(configOrSession) {
|
||||
return (
|
||||
isUsingAzureOpenAi(configOrSession) ||
|
||||
gptApiModelKeys.includes(configOrSession.modelName) ||
|
||||
chatgptApiModelKeys.includes(configOrSession.modelName)
|
||||
)
|
||||
|
||||
@@ -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'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user