Merge branch 'feat/credit-pool' of github.com:langgenius/dify into feat/credit-pool

This commit is contained in:
Yansong Zhang 2025-12-25 10:43:49 +08:00
commit 9d3eaefcdd
2 changed files with 1 additions and 2 deletions

View File

@ -301,7 +301,7 @@ class FeatureService:
if "knowledge_pipeline_publish_enabled" in billing_info:
features.knowledge_pipeline.publish_enabled = billing_info["knowledge_pipeline_publish_enabled"]
if "next_credit_reset_date" in billing_info:
features.next_credit_reset_date = billing_info["next_credit_reset_date"]

View File

@ -48,7 +48,6 @@ class WorkspaceService:
"replace_webapp_logo": replace_webapp_logo,
}
if dify_config.EDITION == "CLOUD":
tenant_info["next_credit_reset_date"] = feature.next_credit_reset_date
from services.credit_pool_service import CreditPoolService