Merge pull request #8245 from uinstinct/free-trial-dialog
fix: only show free trial dialog for freetrial secrettype
This commit is contained in:
commit
be66fa97ac
1 changed files with 1 additions and 3 deletions
|
|
@ -36,7 +36,5 @@ const modelUsesCreditsBasedApiKey = (model: ModelDescription) => {
|
|||
|
||||
const secretType = decodeSecretLocation(model.apiKeyLocation).secretType;
|
||||
|
||||
return (
|
||||
secretType === SecretType.FreeTrial || secretType === SecretType.ModelsAddOn
|
||||
);
|
||||
return secretType === SecretType.FreeTrial;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue