import type { ProviderInfo } from '~/types/model'; import type { ModelInfo } from '~/utils/types'; interface ModelSelectorProps { model?: string; setModel?: (model: string) => void; provider?: ProviderInfo; setProvider?: (provider: ProviderInfo) => void; modelList: ModelInfo[]; providerList: ProviderInfo[]; apiKeys: Record; } export const ModelSelector = ({ model, setModel, provider, setProvider, modelList, providerList, }: ModelSelectorProps) => { return (
); };