Skip to main content

Module runner

Module runner 

Source

Functionsยง

ai_calls_today
Get AI calls used today and the configured max. Resets count on new day.
last_run_time
Get the last run timestamp from the metadata table.
rotate_log_if_needed
Rotate runner.log if it exceeds 1 MB.