Flow improvements.

This commit is contained in:
=
2026-02-04 22:57:38 -05:00
parent 346dbe3f64
commit 1cd62a75c9
4 changed files with 46 additions and 11 deletions

View File

@@ -977,7 +977,13 @@ def run_status(id):
if os.path.exists(temp_log):
with open(temp_log, 'r') as f: log_content = f.read()
response = {"status": run.status, "log": log_content, "cost": run.cost, "percent": run.progress}
response = {
"status": run.status,
"log": log_content,
"cost": run.cost,
"percent": run.progress,
"start_time": run.start_time.timestamp() if run.start_time else None
}
if last_log:
response["progress"] = {