Created
July 5, 2024 06:15
-
-
Save elijahbenizzy/8ecde1857e79f40169a2ce6e61fbf4a9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type Event = { | |
type: 'delta' | 'chat_history'; | |
}; | |
type ChatMessageEvent = Event & { | |
value: string; | |
}; | |
type ChatHistoryEvent = Event & { | |
value: ChatItem[]; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment