Reorders initialization of in-progress flag to prevent potential race conditions during timed prompt generation Ensures that the in-progress status is set before stopping existing sequences and generates prompts
Reorders initialization of in-progress flag to prevent potential race conditions during timed prompt generation Ensures that the in-progress status is set before stopping existing sequences and generates prompts