fix: 提高租户余额不足的检查阈值

This commit is contained in:
2026-07-02 11:20:11 +08:00
parent 260d6547f2
commit 518f666ac6
+1 -1
View File
@@ -46,7 +46,7 @@ func (w *asyncWorker) handleOne(ctx context.Context, task *entity.ModelGatewayTa
// 1) 查询余额
// ============================================
surplus, _ = gateway.GetTenantSurplus(ctx, model.TenantId)
if surplus <= 100 {
if surplus <= 200 {
w.failTask(ctx, task, startTime, "租户余额不足")
return
}