From f312fe9050216be7edf9ec411dddd02669432982 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 12 Feb 2026 15:18:36 +0800 Subject: [PATCH] bugfix --- llmage/llmclient.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index dc7b09a..4921f8c 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -148,7 +148,6 @@ where a.upappid=b.id return recs[i].userid async def write_llmusage(id, llm, userid, usage, params_kw, outdata, sor): - debug(f'{params_kw=}, {outdata=}') d = { "id": id, "llmid": llm.id, @@ -409,6 +408,6 @@ async def inference_generator(request, *args, params_kw=None, **kw): async def inference(request, *args, params_kw=None, **kw): env = request._run_ns.copy() - f = partial(inference_generator, *args, params_kw=params_kw, **kw) + f = partial(inference_generator, request, *args, params_kw=params_kw, **kw) return await env.stream_response(request, f)