Files
cline-multi-mirror/sdk/apps/examples/desktop-app/webview/lib/provider-schema.ts
T
HybridTalentComputing 8d519391b1 Sync with upstream v3.83.0
Replace all files with clean upstream Cline v3.83.0 content.
ShengSuanYun provider code automatically removed.
2026-05-15 13:02:01 +08:00

36 lines
696 B
TypeScript

export interface ProviderModel {
id: string;
name: string;
supportsAttachments?: boolean;
supportsVision?: boolean;
supportsReasoning?: boolean;
}
export interface Provider {
id: string;
name: string;
models: number | null;
color: string;
letter: string;
enabled: boolean;
apiKey?: string;
oauthAccessTokenPresent?: boolean;
baseUrl?: string;
docUrl?: string;
docLabel?: string;
defaultModelId?: string;
authDescription?: string;
baseUrlDescription?: string;
modelList?: ProviderModel[];
}
export interface ProviderCatalogResponse {
providers: Provider[];
settingsPath: string;
}
export interface ProviderModelsResponse {
providerId: string;
models: ProviderModel[];
}