// 问答功能独立的类型定义
export interface TacticsConversation {
  id: string
  title?: string
  createdAt?: string
  updatedAt?: string
}

export interface TacticsConversationState {
  conversations: TacticsConversation[]
  currentConversationId: string | null
  isLoading: boolean
  error: string | null
  shouldNavigateToNewConversation: boolean
  shouldSendQuestion: string
}

export interface TacticsChatRecord {
  role: 'system' | 'user' | 'ai'
  question?: string
  answer?: string
  groupId?: string
  recordId?: string
  conversationId?: string
  qaTime?: string
}
