Ver código fonte

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

tags/0.11.0
zhuhao 1 ano atrás
pai
commit
7433095240
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
api/core/rag/datasource/vdb/tidb_on_qdrant/tidb_service.py Ver arquivo

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

Carregando…
Cancelar
Salvar