export type ChatRole = "user" | "assistant";

export interface ChatMessage {
  id: string;
  role: ChatRole;
  content: string;
  timestamp: string;
}

export interface ChatSession {
  id: string;
  title: string;
  messages: ChatMessage[];
  createdAt: string;
  /** Linked project tag id from Tag Manager */
  projectTagId?: string;
  /** Project display name for quick reference */
  projectName?: string;
}

export interface AiProviderConfig {
  provider: string;
  model: string;
  baseUrl: string;
  maxTokens: number;
  isConfigured: boolean;
}
