fix: replace 'from datetime import date' with pre-loaded curDateString()

This commit is contained in:
yumoqing 2026-06-04 18:39:50 +08:00
parent 9212cf8afb
commit 134bd1ca68

View File

@ -6,8 +6,7 @@ if not llmid:
if action == 'check':
# Return check results
from datetime import date
today = date.today().isoformat()
today = curDateString()[:10]
env = request._run_ns
result = {'llmid': llmid, 'checks': [], 'all_passed': True}