This commit is contained in:
yumoqing 2026-05-22 14:43:17 +08:00
parent 90a036e6a9
commit 711e4fa6f9

View File

@ -41,7 +41,7 @@ async def checkCustomerBalance(llmid, userid, userorgid, catelogid=None):
debug(f'checkCustomerBalance(): llmid is None')
return False
env = ServerEnv()
llm = await get_llm(llm)
llm = await get_llm(llmid)
if llm.ownerid == userorgid:
debug(f'self orgid user')
return True