From 927b5c59d4180790763e9801c04aa132a5ffd021 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Fri, 23 Feb 2024 19:17:34 -0300 Subject: [PATCH] Add id and stream_url to ChatMessageType and ChatOutputType --- src/frontend/src/types/chat/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/frontend/src/types/chat/index.ts b/src/frontend/src/types/chat/index.ts index b393b57cd..3914dd2dc 100644 --- a/src/frontend/src/types/chat/index.ts +++ b/src/frontend/src/types/chat/index.ts @@ -9,6 +9,8 @@ export type ChatMessageType = { files?: Array<{ data: string; type: string; data_type: string }>; prompt?: string; chatKey?: string; + id?: string; + stream_url?: string | null; sender_name?: string; }; @@ -16,6 +18,7 @@ export type ChatOutputType = { message: string; sender: string; sender_name: string; + stream_url?: string; }; export type chatInputType = {