export interface IThirdOAIModel {
  available: boolean;
  create_date: string;
  create_time: number;
  fid: string;
  id: number;
  llm_name: string;
  max_tokens: number;
  model_type: string;
  status: string;
  tags: string;
  update_date: string;
  update_time: number;
  tenant_id?: string;
  tenant_name?: string;
  is_tools: boolean;
}

export type IThirdOAIModelCollection = Record<string, IThirdOAIModel[]>;

/**
 * 模型工厂
{
  "create_date": "Sun, 28 Sep 2025 11:30:34 GMT",
  "create_time": 1759030234446,
  "logo": "",
  "model_types": [
      "chat",
      "image2text"
  ],
  "name": "01.AI",
  "status": "1",
  "tags": "LLM,IMAGE2TEXT",
  "update_date": "Sun, 28 Sep 2025 11:30:34 GMT",
  "update_time": 1759030234446
}
 */
export interface IFactory {
  create_date: string;
  create_time: number;
  logo: string;
  name: string;
  status: string;
  model_types: string[];
  tags: string;
  update_date: string;
  update_time: number;
}

export interface IMyLlmModel {
  llm: ILlmItem[];
  tags: string;
}

export interface ILlmItem {
  api_base: string;
  max_tokens: number;
  name: string;
  type: string;
  used_token: number;
}
