mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 23:01:30 +00:00
Coalesce sequential status messages
Rapidly changing settings no longer spams the chat log with multiple status lines. fixes #365
This commit is contained in:
parent
ac6f5006a9
commit
a2afa490f1
3 changed files with 7 additions and 6 deletions
|
|
@ -92,8 +92,8 @@ export class InteractiveMode {
|
|||
private changelogMarkdown: string | undefined = undefined;
|
||||
|
||||
// Status line tracking (for mutating immediately-sequential status updates)
|
||||
private lastStatusSpacer: Spacer | null = null;
|
||||
private lastStatusText: Text | null = null;
|
||||
private lastStatusSpacer: Spacer | undefined = undefined;
|
||||
private lastStatusText: Text | undefined = undefined;
|
||||
|
||||
// Streaming message tracking
|
||||
private streamingComponent: AssistantMessageComponent | undefined = undefined;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue