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

10
app/types/model.ts Normal file
View File

@@ -0,0 +1,10 @@
import type { ModelInfo } from '~/utils/types';
export type ProviderInfo = {
staticModels: ModelInfo[],
name: string,
getDynamicModels?: () => Promise<ModelInfo[]>,
getApiKeyLink?: string,
labelForGetApiKey?: string,
icon?:string,
};