mirror of https://github.com/langgenius/dify.git
fix: add tongyi paid
This commit is contained in:
parent
0fb97ee9e9
commit
e01fae9151
|
|
@ -230,7 +230,7 @@ class HostingConfiguration:
|
|||
trial_quota = TrialHostingQuota(quota_limit=hosted_quota_limit, restrict_models=trail_models)
|
||||
quotas.append(trial_quota)
|
||||
|
||||
if dify_config.HOSTED_ANTHROPIC_PAID_ENABLED:
|
||||
if dify_config.HOSTED_TONGYI_PAID_ENABLED:
|
||||
paid_models = self.parse_restrict_models_from_env("HOSTED_TONGYI_PAID_MODELS")
|
||||
paid_quota = PaidHostingQuota(restrict_models=paid_models)
|
||||
quotas.append(paid_quota)
|
||||
|
|
|
|||
Loading…
Reference in New Issue