add paid credit

This commit is contained in:
Yansong Zhang
2025-09-26 12:49:35 +08:00
parent e974c696f7
commit d745c2e8e3
4 changed files with 6 additions and 6 deletions

View File

@ -202,7 +202,7 @@ class HostingConfiguration:
if dify_config.HOSTED_ANTHROPIC_PAID_ENABLED:
paid_quota = PaidHostingQuota()
paid_models = self.parse_restrict_models_from_env("HOSTED_ANTHROPIC_PAID_MODELS")
quotas.append(paid_quota,restrict_models=paid_models)
quotas.append(paid_quota, restrict_models=paid_models)
if len(quotas) > 0:
credentials = {