All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Co-authored-by: Jason Woltje <jason@diversecanvas.com> Co-committed-by: Jason Woltje <jason@diversecanvas.com>
18 lines
564 B
TypeScript
18 lines
564 B
TypeScript
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[];
|
|
}
|