Commit Graph
2 Commits
Author SHA1 Message Date
Ubuntu 15fa287e1b fix(session): turn-deadline TTL separate from idle TTL
build-and-push / build (push) Successful in 3m55s
Long thinking-heavy turns (multi-image vision extraction) legitimately
run >120s without emitting chunks; the idle TTL killed cursor-agent
mid-turn, surfacing to HTTP clients as an empty assistant turn.

- TURN_DEADLINE_MS (default 900s) applies while a prompt is in flight;
  SESSION_TTL_MS (idle, 120s) applies between turns
- _touchTimer() re-arms on every session/update (chunks, thoughts)
- _finishTurn clears _promptInFlight and re-arms the idle TTL

Verified with the real 11-photo TTN replay that previously died with
'LLM stream returned empty assistant turn' after mid-turn TTL kills.
2026-09-27 13:43:58 +00:00
Vsevolod Sauta 57a036ba5e Initial segregate: proxy source, deploy manifests, ImagePolicy Flux CRs.
build-and-push / build (push) Failing after 2m45s
Move workload out of infra with cursor-devbox-style GitRepository +
run_number-sha image automation.
2026-09-21 10:31:36 +03:00