fix: add tongyi paid

This commit is contained in:
Yansong Zhang 2025-12-25 11:36:06 +08:00
parent 0fb97ee9e9
commit e01fae9151
1 changed files with 1 additions and 1 deletions

View File

@ -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)