bugfix
This commit is contained in:
parent
9ae73d3929
commit
a384326654
@ -82,7 +82,7 @@ async def async_uapi_request(request, llm, sor,
|
||||
e = Exception(f'resp={d} not success')
|
||||
raise e
|
||||
responsed_seconds = time.time() - start_timestamp
|
||||
finish_seconds = response_seconds
|
||||
finish_seconds = responsed_seconds
|
||||
llmusage = DictObject()
|
||||
llmusage.id = luid
|
||||
llmusage.llmid = llm.id
|
||||
|
||||
@ -41,7 +41,7 @@ async def sync_uapi_request(request, llm, sor, callerid, callerorgid, params_kw=
|
||||
if status and status != 'SUCCEEDED':
|
||||
raise Exception(d['error'])
|
||||
responsed_seconds = time.time() - start_timestamp
|
||||
finish_seconds = response_seconds
|
||||
finish_seconds = responsed_seconds
|
||||
llmusage = DictObject()
|
||||
llmusage.id = luid
|
||||
llmusage.llmid = llm.id
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user