bugfix
This commit is contained in:
parent
03a1a1be6c
commit
a8415ef34e
@ -149,7 +149,7 @@ async def llm_accounting(llmusage):
|
|||||||
async def get_accounting_llmusages(luid=None):
|
async def get_accounting_llmusages(luid=None):
|
||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
lus = []
|
lus = []
|
||||||
t = time.time - 20
|
t = time.time() - 20
|
||||||
dt = datetime.fromtimestamp(t)
|
dt = datetime.fromtimestamp(t)
|
||||||
tsstr = dt.strftime('%Y-%m-%d %H:%M:%S.') + f'{dt.microsecond // 1000:03d}'
|
tsstr = dt.strftime('%Y-%m-%d %H:%M:%S.') + f'{dt.microsecond // 1000:03d}'
|
||||||
async with get_sor_context(env, 'llmage') as sor:
|
async with get_sor_context(env, 'llmage') as sor:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user