mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix(chat): fix streaming bugs in edit notifications, persist race, and frontend reconnect (#22737)
This commit is contained in:
@@ -34,4 +34,9 @@ type ChatStreamNotifyMessage struct {
|
||||
|
||||
// QueueUpdate is set when the queued messages change.
|
||||
QueueUpdate bool `json:"queue_update,omitempty"`
|
||||
|
||||
// FullRefresh signals that subscribers should re-fetch all
|
||||
// messages from the beginning (e.g. after an edit that
|
||||
// truncates message history).
|
||||
FullRefresh bool `json:"full_refresh,omitempty"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user