More type fixes

This commit is contained in:
eduardruzga
2024-11-14 14:29:47 +02:00
parent b0754e546b
commit df91d0edc0
6 changed files with 24 additions and 14 deletions

View File

@@ -26,3 +26,12 @@ export interface ModelInfo {
label: string;
provider: string;
}
export interface ProviderInfo {
staticModels: ModelInfo[],
name: string,
getDynamicModels?: () => Promise<ModelInfo[]>,
getApiKeyLink?: string,
labelForGetApiKey?: string,
icon?:string,
};