Skip to content

Commit

Permalink
fix(chat): send stream start event as bot-message
Browse files Browse the repository at this point in the history
  • Loading branch information
sogehige committed Jan 22, 2024
1 parent 8e0ffdd commit 342be7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Chat extends Widget {

@onStreamStart()
public streamStarted(msgId: string) {
ioServer?.of('/overlays/chat').emit('message', {
ioServer?.of('/overlays/chat').emit('bot-message', {
id: randomUUID(),
timestamp: Date.now(),
displayName: ``,
Expand Down

0 comments on commit 342be7b

Please sign in to comment.