bugfix
This commit is contained in:
parent
fc18560ef1
commit
59c099039e
8
wwwroot/list_catelog_models.dspy
Normal file
8
wwwroot/list_catelog_models.dspy
Normal 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 []
|
||||
@ -6,8 +6,8 @@
|
||||
"width":"100%",
|
||||
"height":"100%",
|
||||
"title":"{{llm.name}}",
|
||||
"list_models_url":"{{entire_url('list_mti_models.dspy')}}",
|
||||
"estimate_url":"/estimate/model_estimate.dspy",
|
||||
"list_models_url":"{{entire_url('list_catelog_models.dspy')}}",
|
||||
"estimate_url":"{{entire_url('model_estimate.dspy')}}",
|
||||
"input_fields":{{llm.input_fields}},
|
||||
"input_view":{{llm.input_view}},
|
||||
"models":[
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user