Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

[Bug]: 0.1.64 — queued "Send now" is accepted but delivered only at the next step boundary (arrives at/near turn end during long streaming) #195

Backlog

Description

@magicprinc

GUI version

0.1.64

Operating system

Windows 10 Home, build 19045

Reproduction steps

  1. Start a turn and, while it is running, send a follow-up so it is queued.
  2. Click the queued row's "Send now" (↵) affordance.
  3. The button does not appear to do anything at that moment; the message reaches the run only when the current step finishes — during a long single streaming completion this is tens of seconds later, effectively at/near the end of the turn.

Expected behavior

"Send now" should visibly take effect: either steer the message in at the very next opportunity, or — if injecting into an in-flight model completion is impossible — make that explicit (e.g. label it "Send at next step" and/or offer an explicit "interrupt & send" action). With a single queued item the click should not look like a no-op.

Actual behavior

Not a regression of #151 ("only reorders"): in 0.1.64 the click does call steerAgent, and the main process accepts it (activeRun:true). But the accepted steer is materialized only when the harness reaches a step boundary ([queue] drained into run). During a long model completion that boundary comes late, so the message lands right before the turn ends.

Logs from my session (session id truncated):

13:25:03 [queue] enqueued {..., "steerable":true}
13:25:03 [queue] steer requested
13:25:03 [queue] steer accepted {"sessionId":"36ae7488…","steerId":"dFLU…","waiting":1,"activeRun":true}
13:25:03 [renderer] [queue] steer answered {"id":"dFLU…","ms":5,"accepted":true}
13:26:31 [queue] drained into run {"sessionId":"36ae7488…","steerIds":["dFLU…"]}   <-- +88 s
13:29:53 [send] turn resolved {"sessionId":"36ae7488…","stopReason":"end_turn","pendingSteers":[]}

A second occurrence: accepted 13:34:29 → drained into run 13:35:16 (+47 s).

So the steer is accepted promptly but delivered only at the next safe point. When the current step is a single long streaming answer (no tool calls in between), that safe point is essentially the end of the turn, which matches "the message only arrives when you finish".

Questions

  • Is delivering a steered message only at the next step boundary the intended behavior for 0.1.64?
  • If yes, could the control reflect it (label "Send at next step") and/or add an explicit "interrupt & send" that stops the in-flight step and starts the queued message immediately (clearly warning that the partial answer is dropped)?

Related

@aliarain @ahmadawais

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions