kin: auto-commit after pipeline
This commit is contained in:
parent
35d258935a
commit
e270d10832
3 changed files with 155 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ Uses core.models for all data access, never raw SQL.
|
|||
import json
|
||||
import os
|
||||
import sys
|
||||
from datetime import datetime
|
||||
from datetime import datetime, timezone
|
||||
from pathlib import Path
|
||||
|
||||
import click
|
||||
|
|
@ -618,13 +618,13 @@ def run_task(ctx, task_id, dry_run, allow_write):
|
|||
|
||||
# Step 1: PM decomposes
|
||||
click.echo("Running PM to decompose task...")
|
||||
pm_started_at = datetime.utcnow().isoformat()
|
||||
pm_started_at = datetime.now(timezone.utc).isoformat()
|
||||
pm_result = run_agent(
|
||||
conn, "pm", task_id, project_id,
|
||||
model="sonnet", dry_run=dry_run,
|
||||
allow_write=allow_write, noninteractive=is_noninteractive,
|
||||
)
|
||||
pm_ended_at = datetime.utcnow().isoformat()
|
||||
pm_ended_at = datetime.now(timezone.utc).isoformat()
|
||||
|
||||
if dry_run:
|
||||
click.echo("\n--- PM Prompt (dry-run) ---")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue