bugfix
This commit is contained in:
parent
9697b9c16c
commit
5fbcd8a076
@ -428,7 +428,7 @@ async def inference(request, *args, params_kw=None, **kw):
|
|||||||
async def llm_query_price(llmid, config_data):
|
async def llm_query_price(llmid, config_data):
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
async with get_sor_context(env, 'llmage') as sor:
|
async with get_sor_context(env, 'llmage') as sor:
|
||||||
llms = await sor.R('llm', {id': llmid})
|
llms = await sor.R('llm', {'id': llmid})
|
||||||
if not llms:
|
if not llms:
|
||||||
e = Exception(f'id={llmid} llm not founnd')
|
e = Exception(f'id={llmid} llm not founnd')
|
||||||
exception(f'{e}')
|
exception(f'{e}')
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user