export type DataSourceMeta = {
  url: string;
  file_type: string;
  detected_columns: string[];
  sample_values: Record<string, unknown[]>;
};

export type AgentRow = {
  id: string;
  agent_name: string;
  prompt_id: string;
  prompt_name: string;
  embed_model: string;
  language_model: string;
  is_active: boolean;
  is_global: boolean;
  data_sources?: DataSourceMeta[];
  embed_dimension: number;
  category_key?: string;
  created_by: string;
  updated_by: string;
  updated_at?: string;
};

export type AgentFormValues = {
  agent_name: string;
  prompt_id: string;
  embed_model: string;
  language_model: string;
  is_active: boolean;
  csv_urls: string[];
  embed_dimension: number | "";
  category_key: string;
  tuning: Record<string, number | string>;
};

export type PromptOption = { value: string; label: string };