bugfix
This commit is contained in:
parent
c457e3bc33
commit
6daaab2263
@ -14,6 +14,8 @@ if llms is None:
|
|||||||
if len(llms) == 0:
|
if len(llms) == 0:
|
||||||
debug(f'{params_kw.model=} not found in llm')
|
debug(f'{params_kw.model=} not found in llm')
|
||||||
return openai_400()
|
return openai_400()
|
||||||
|
llm = llms[0]
|
||||||
|
params_kw.llmid = llm.id
|
||||||
|
|
||||||
f = await checkCustomerBalance(params_kw.llmid, userorgid)
|
f = await checkCustomerBalance(params_kw.llmid, userorgid)
|
||||||
if not f:
|
if not f:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user