export type ChatMessage = { role: string; content: string; isFinal: boolean; };