Skip to content

v0.30.0

Choose a tag to compare

@iancleary iancleary released this 24 Nov 13:30
· 20 commits to main since this release

Interactive model requests no longer carry a hidden 120-second total HTTP deadline. Slow prefill, extended reasoning, or a long stream was previously terminated at exactly two minutes regardless of whether useful work was still occurring; issue #132 recorded two transport failures at exactly that timing.

  • An interactive request now has no total budget. Connection setup (DNS, TCP, TLS) is bounded to 30 seconds, and each transport read is polled every 2 seconds. A poll expiry is a checkpoint to recheck cancellation, never a failure by itself, so a silent prefill or reasoning phase waits as long as the provider needs.
  • Esc now closes a connection whose upstream has gone silent within one read poll. Previously a cancel during a silent stream waited out the 120-second cap before the socket closed.
  • Explicit turn deadlines (ahi delegate workers, ahi exec --timeout) keep one total budget covering connection, request, and response, expiring just after the deadline. The hidden 120-second clamp inside that budget is gone, so a long assignment is no longer cut down by an arbitrary request cap.
  • A gateway that accepts a connection but never starts responding fails within the read poll with a distinct message and is still never retried, because the request may already have been processed.

No upgrade steps are required: this is a client-side change, the service protocol is unchanged, and running daemons are unaffected.

Changes: #135 · Fixes #132 · Full comparison