From 70e8fd791fa7b08af080121088d273aa08933d16 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 20 May 2026 16:55:24 +0800 Subject: [PATCH] fix: remove duplicate m.query_apiname from get_llm SQL (a.* already contains it) --- llmage/utils.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/llmage/utils.py b/llmage/utils.py index c10245b..2d70d6f 100644 --- a/llmage/utils.py +++ b/llmage/utils.py @@ -234,10 +234,9 @@ class BufferedLLMs: env = ServerEnv() async with get_sor_context(env, 'llmage') as sor: sql = """select x.*, - z.input_fields +z.input_fields from ( -select a.*, e.ioid, e.stream, e.callbackurl, f.input_fields as inputfields, - m.query_apiname, m.query_period, m.ppid +select a.*, e.ioid, e.stream, e.callbackurl, f.input_fields as inputfields from llm a join llm_api_map m on a.id = m.llmid join upapp c on a.upappid = c.id