bolt.diy / app /types /model.ts
codacus's picture
feat(Dynamic Models): together AI Dynamic Models
1589d2a
raw
history blame
280 Bytes
import type { ModelInfo } from '~/utils/types';
export type ProviderInfo = {
staticModels: ModelInfo[];
name: string;
getDynamicModels?: (apiKeys?: Record<string, string>) => Promise<ModelInfo[]>;
getApiKeyLink?: string;
labelForGetApiKey?: string;
icon?: string;
};