Add id and stream_url to ChatMessageType and ChatOutputType
This commit is contained in:
parent
6079461f34
commit
927b5c59d4
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,8 @@ export type ChatMessageType = {
|
||||||
files?: Array<{ data: string; type: string; data_type: string }>;
|
files?: Array<{ data: string; type: string; data_type: string }>;
|
||||||
prompt?: string;
|
prompt?: string;
|
||||||
chatKey?: string;
|
chatKey?: string;
|
||||||
|
id?: string;
|
||||||
|
stream_url?: string | null;
|
||||||
sender_name?: string;
|
sender_name?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -16,6 +18,7 @@ export type ChatOutputType = {
|
||||||
message: string;
|
message: string;
|
||||||
sender: string;
|
sender: string;
|
||||||
sender_name: string;
|
sender_name: string;
|
||||||
|
stream_url?: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type chatInputType = {
|
export type chatInputType = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue