bolt.diy/app/types/model.ts

11 lines
280 B
TypeScript
Raw Normal View History

2024-11-14 12:29:47 +00:00
import type { ModelInfo } from '~/utils/types';
export type ProviderInfo = {
2024-11-21 21:05:35 +00:00
staticModels: ModelInfo[];
name: string;
getDynamicModels?: (apiKeys?: Record<string, string>) => Promise<ModelInfo[]>;
2024-11-21 21:05:35 +00:00
getApiKeyLink?: string;
labelForGetApiKey?: string;
icon?: string;
2024-11-14 12:29:47 +00:00
};