export type Role = 'user' | 'assistant' | 'system' export type ChatMessage = { id: string role: Role content: string } export type Choice = { id: string label: string }