fix: replace 'from datetime import date' with pre-loaded curDateString()
This commit is contained in:
parent
9212cf8afb
commit
134bd1ca68
@ -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}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user