Skip to content

Commit

Permalink
fix 0d7d735
Browse files Browse the repository at this point in the history
  • Loading branch information
josStorer committed Mar 4, 2024
1 parent 4a25b03 commit dd1587c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/config/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,6 @@ export function isUsingGithubThirdPartyApi(configOrSession) {

export function isSupportBalance(configOrSession) {
return (
isUsingAzureOpenAi(configOrSession) ||
gptApiModelKeys.includes(configOrSession.modelName) ||
chatgptApiModelKeys.includes(configOrSession.modelName)
)
Expand Down
2 changes: 1 addition & 1 deletion src/popup/sections/GeneralPart.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit dd1587c

Please sign in to comment.