Skip to content

fix: unblock steer-mode followups when active runs stop streaming#2307

Open
BingqingLyu wants to merge 3 commits intomainfrom
fork-pr-64758-issue-10960-mid-stream-steer
Open

fix: unblock steer-mode followups when active runs stop streaming#2307
BingqingLyu wants to merge 3 commits intomainfrom
fork-pr-64758-issue-10960-mid-stream-steer

Conversation

@BingqingLyu
Copy link
Copy Markdown
Owner

@BingqingLyu BingqingLyu commented Apr 28, 2026

Summary

  • abort active steer-mode runs when soft injection cannot be queued because the run is active but not streaming
  • keep the existing fast-path for true mid-stream injection when the active run can accept queued steer input
  • add focused regression coverage around the steer success and not-streaming fallback paths

Testing

  • pnpm test -- --run src/auto-reply/reply/agent-runner.misc.runreplyagent.test.ts src/auto-reply/reply/queue-policy.test.ts

Closes openclaw#10960.

armsteadj1 and others added 3 commits April 10, 2026 23:33
Steer mode previously only attempted injection when the run was actively
streaming. If the run was busy but not streaming (e.g. tool execution),
the steer message silently enqueued as a followup and waited for the
current turn to finish. Now the active run is aborted so the enqueued
followup starts sooner.
…d isStreaming param, gate steer abort on non-heartbeat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Mid-stream message injection (soft steer)

2 participants