From 1ebbb7145b64d64cd016994cd7644f4863cbd45f Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 21 Aug 2025 14:52:56 +0800 Subject: [PATCH] bugfix --- llmage/llmclient.py | 2 +- wwwroot/llminference.dspy | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/llmage/llmclient.py b/llmage/llmclient.py index 7736e46..2baac5a 100644 --- a/llmage/llmclient.py +++ b/llmage/llmclient.py @@ -71,7 +71,7 @@ where a.llmcatelogid = b.id async def inference(request, env): uapi = UAPI(request, env) params = env.params_kw - llmid = params.id + llmid = params.llmid prompt = params.prompt stream = params.stream or True dbname = env.get_module_dbname('llmage') diff --git a/wwwroot/llminference.dspy b/wwwroot/llminference.dspy index 538f0b0..1b357a2 100644 --- a/wwwroot/llminference.dspy +++ b/wwwroot/llminference.dspy @@ -1,2 +1,3 @@ +debug(f'{params_kw=}') env = DictObject(**globals()) return await inference(request, env=env)