This commit is contained in:
yumoqing 2025-09-17 17:12:04 +08:00
parent 5544b6ef63
commit 77dab4eb24

View File

@ -27,7 +27,7 @@ async def get_llms_by_catelog(catelogid):
db = DBPools()
dbname = get_serverenv('get_module_dbname')('llmage')
async with db.sqlorContext(dbname) as sor:
today = curDateTimeString()
today = curDateString()
sql = """select * from llm
where llmcatelogid = ${llmcatelogid}$
enabled_date <= ${today}$
@ -41,7 +41,7 @@ async def get_llm(llmid):
db = DBPools()
dbname = get_serverenv('get_module_dbname')('llmage')
async with db.sqlorContext(dbname) as sor:
today = curDateTimeString()
today = curDateString()
sql = """select x.*,
z.input_fields,
z.input_view,