Spaces:
Build error
Build error
File size: 352 Bytes
0702eb8 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
export interface Message {
id: string;
content: string;
role: string;
}
export interface ChatHandler {
messages: Message[];
input: string;
isLoading: boolean;
handleSubmit: (e: React.FormEvent<HTMLFormElement>) => void;
handleInputChange: (e: React.ChangeEvent<HTMLInputElement>) => void;
reload?: () => void;
stop?: () => void;
}
|