bugfix
This commit is contained in:
parent
5544b6ef63
commit
77dab4eb24
@ -27,7 +27,7 @@ async def get_llms_by_catelog(catelogid):
|
|||||||
db = DBPools()
|
db = DBPools()
|
||||||
dbname = get_serverenv('get_module_dbname')('llmage')
|
dbname = get_serverenv('get_module_dbname')('llmage')
|
||||||
async with db.sqlorContext(dbname) as sor:
|
async with db.sqlorContext(dbname) as sor:
|
||||||
today = curDateTimeString()
|
today = curDateString()
|
||||||
sql = """select * from llm
|
sql = """select * from llm
|
||||||
where llmcatelogid = ${llmcatelogid}$
|
where llmcatelogid = ${llmcatelogid}$
|
||||||
enabled_date <= ${today}$
|
enabled_date <= ${today}$
|
||||||
@ -41,7 +41,7 @@ async def get_llm(llmid):
|
|||||||
db = DBPools()
|
db = DBPools()
|
||||||
dbname = get_serverenv('get_module_dbname')('llmage')
|
dbname = get_serverenv('get_module_dbname')('llmage')
|
||||||
async with db.sqlorContext(dbname) as sor:
|
async with db.sqlorContext(dbname) as sor:
|
||||||
today = curDateTimeString()
|
today = curDateString()
|
||||||
sql = """select x.*,
|
sql = """select x.*,
|
||||||
z.input_fields,
|
z.input_fields,
|
||||||
z.input_view,
|
z.input_view,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user