export interface IChatWithLLMRequest {
  messages: Message[];
  /**
   * 要使用的模型的 ID
   */
  model: string;
}

export interface Message {
  content?: string;
  thinking?: string;
  role?: string;
  usage?: UsageInfo;
  id?: string;
  type?: 'chat' | 'voice';
  [property: string]: any;
}

export interface ModelInfo {
  model_id: string;
  model_name: string;
  model_type: string;
}

export interface ModelListInfo {
  vendor: string;
  models: ModelInfo[];
}

export interface UsageInfo {
  prompt_tokens: number;
  completion_tokens: number;
  total_tokens: number;
}
