fix: remove duplicate m.query_apiname from get_llm SQL (a.* already contains it)
This commit is contained in:
parent
334dcc5947
commit
70e8fd791f
@ -234,10 +234,9 @@ class BufferedLLMs:
|
|||||||
env = ServerEnv()
|
env = ServerEnv()
|
||||||
async with get_sor_context(env, 'llmage') as sor:
|
async with get_sor_context(env, 'llmage') as sor:
|
||||||
sql = """select x.*,
|
sql = """select x.*,
|
||||||
z.input_fields
|
z.input_fields
|
||||||
from (
|
from (
|
||||||
select a.*, e.ioid, e.stream, e.callbackurl, f.input_fields as inputfields,
|
select a.*, e.ioid, e.stream, e.callbackurl, f.input_fields as inputfields
|
||||||
m.query_apiname, m.query_period, m.ppid
|
|
||||||
from llm a
|
from llm a
|
||||||
join llm_api_map m on a.id = m.llmid
|
join llm_api_map m on a.id = m.llmid
|
||||||
join upapp c on a.upappid = c.id
|
join upapp c on a.upappid = c.id
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user