export interface TestConnectionDto { /** Provider identifier to test (e.g. 'ollama', custom provider id) */ providerId: string; /** Optional base URL override for ad-hoc testing */ baseUrl?: string; } export interface TestConnectionResultDto { providerId: string; reachable: boolean; /** Round-trip latency in milliseconds (present when reachable) */ latencyMs?: number; /** Human-readable error when unreachable */ error?: string; /** Model ids discovered at the remote endpoint (present when reachable) */ discoveredModels?: string[]; }