Feat/apply free quota (#828)

Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
zxhlyh
2023-08-14 12:46:28 +08:00
committed by GitHub
parent cc52cdc2a9
commit e5e86fc033
15 changed files with 199 additions and 57 deletions

View File

@@ -74,6 +74,10 @@ export type BackendModel = {
model_provider: {
provider_name: ProviderEnum
provider_type: PreferredProviderTypeEnum
quota_type: 'trial' | 'paid'
quota_unit: 'times' | 'tokens'
quota_used: number
quota_limit: number
}
features: ModelFeature[]
}