mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
add paid credit
This commit is contained in:
@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user