瀏覽代碼

chore: use dify_config.TIDB_SPEND_LIMIT instead of constant value (#10038)

tags/0.11.0
zhuhao 1 年之前
父節點
當前提交
7433095240
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      api/core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py

+ 1
- 1
api/core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py 查看文件

@@ -37,7 +37,7 @@ class TidbService:
}

spending_limit = {
"monthly": 100,
"monthly": dify_config.TIDB_SPEND_LIMIT,
}
password = str(uuid.uuid4()).replace("-", "")[:16]
display_name = str(uuid.uuid4()).replace("-", "")[:16]

Loading…
取消
儲存