From 6daaab22633af20817babd79cdaae4e21497a0e1 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 31 Mar 2026 15:47:22 +0800 Subject: [PATCH] bugfix --- wwwroot/video/index.dspy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wwwroot/video/index.dspy b/wwwroot/video/index.dspy index 6b092d2..f5db399 100644 --- a/wwwroot/video/index.dspy +++ b/wwwroot/video/index.dspy @@ -14,6 +14,8 @@ if llms is None: if len(llms) == 0: debug(f'{params_kw.model=} not found in llm') return openai_400() +llm = llms[0] +params_kw.llmid = llm.id f = await checkCustomerBalance(params_kw.llmid, userorgid) if not f: