mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 18:01:22 +00:00
fix(agent,coding-agent): resume queued messages after auto-compaction
This commit is contained in:
parent
703ee26625
commit
b050c582a1
7 changed files with 247 additions and 27 deletions
|
|
@ -1671,6 +1671,12 @@ export class AgentSession {
|
|||
this.agent.replaceMessages(messages.slice(0, -1));
|
||||
}
|
||||
|
||||
setTimeout(() => {
|
||||
this.agent.continue().catch(() => {});
|
||||
}, 100);
|
||||
} else if (this.agent.hasQueuedMessages()) {
|
||||
// Auto-compaction can complete while follow-up/steering/custom messages are waiting.
|
||||
// Kick the loop so queued messages are actually delivered.
|
||||
setTimeout(() => {
|
||||
this.agent.continue().catch(() => {});
|
||||
}, 100);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue