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': if action == 'check':
# Return check results # Return check results
from datetime import date today = curDateString()[:10]
today = date.today().isoformat()
env = request._run_ns env = request._run_ns
result = {'llmid': llmid, 'checks': [], 'all_passed': True} result = {'llmid': llmid, 'checks': [], 'all_passed': True}