This commit is contained in:
yumoqing 2025-09-09 14:56:42 +08:00
parent fc18560ef1
commit 59c099039e
2 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1,8 @@
dbname = get_module_dbname('llmage')
db = DBPools()
async with db.sqlorContext(dbname) as sor:
sql = """select * from llm where llmcatelogid = ${llmcatelogid}$ and id != ${llmid}$"""
ns = params_kw.copy()
recs = await sor.sqlExe(sql, ns)
return recs
return []

View File

@ -6,8 +6,8 @@
"width":"100%", "width":"100%",
"height":"100%", "height":"100%",
"title":"{{llm.name}}", "title":"{{llm.name}}",
"list_models_url":"{{entire_url('list_mti_models.dspy')}}", "list_models_url":"{{entire_url('list_catelog_models.dspy')}}",
"estimate_url":"/estimate/model_estimate.dspy", "estimate_url":"{{entire_url('model_estimate.dspy')}}",
"input_fields":{{llm.input_fields}}, "input_fields":{{llm.input_fields}},
"input_view":{{llm.input_view}}, "input_view":{{llm.input_view}},
"models":[ "models":[