export type ListModelsRequest = {
  baseUrl: string
  apiKey: string
}

export type ModelListResponse =
  | {
      ok: true
      models: string[]
    }
  | {
      ok: false
      message: string
    }

export type ModelConfig = {
  provider: string
  baseUrl: string
  apiKey: string
  model: string
  temperature: string
  maxTokens: string
  systemPrompt: string
}

export type TestModelConnectionResponse =
  | {
      ok: true
      message: string
    }
  | {
      ok: false
      message: string
    }
