Merge Queue

Resolved 💬 2 comments Opened Dec 22, 2025 by synestiqx Closed Dec 22, 2025

Question: Merge consecutive user messages queued during generation?

Context

When the agent is generating a response, I sometimes send multiple follow-up user messages in quick succession (to provide the full context / additional constraints).
These messages end up as pending and are later dispatched to the model as separate turns.

Question / Proposal

Should we merge consecutive user messages that were queued while generation is in progress into a single message before dispatching to the model?

Could this be gated behind a config flag (disabled by default) to avoid changing behavior unless explicitly enabled?

Motivation

  • Treat multi-enter follow-ups as a single addendum
  • Reduce unnecessary extra turns / invocations
  • Improve coherence by delivering the full context in one payload

It might also be possible to incorporate pending messages at the earliest feasible point before the current turn finishes.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗