export interface LLMProviderInfo {
  name: string
  display_name: string
  description?: string
  config_schema: Record<string, any>
}

export interface LLMConfig {
  provider: string
  config: Record<string, any>
  updated_at?: string
}

export interface LLMConfigUpdate {
  provider: string
  config?: Record<string, any>
}

export interface LLMTestResult {
  success: boolean
  response?: string
  latency_ms?: number
  prompt_tokens?: number
  completion_tokens?: number
  total_tokens?: number
  message?: string
  error?: string
}

export interface LLMTestRequest {
  test_prompt?: string
  provider?: string
  config?: Record<string, any>
}

export interface LLMProvidersResponse {
  providers: LLMProviderInfo[]
}

export interface LLMConfigUpdateResponse {
  success: boolean
  message: string
}
