Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 812 Bytes

File metadata and controls

19 lines (15 loc) · 812 Bytes

Feature: Stop button interrupts active turn without missing turnId

Prerequisites

  • App is running from this repository.
  • At least one thread can run a long response (for example, request a large code explanation).

Steps

  1. Send a prompt that keeps the assistant generating for several seconds.
  2. Immediately click the Stop button before the first assistant chunk fully completes.
  3. Confirm generation halts.
  4. Repeat with a resumed/existing in-progress thread (reload app while a turn is running, then click Stop).

Expected Results

  • No error appears saying turn/interrupt requires turnId.
  • Turn is interrupted successfully in both immediate-stop and resumed-thread scenarios.
  • Thread state exits in-progress and the stop control returns to idle.

Rollback/Cleanup

  • None.