"use client"; import { RECOMMENDED_OLLAMA_MODELS } from "@/lib/analysis/constants"; interface OllamaModelPickerProps { models: string[]; value: string; onChange: (model: string) => void; onRefresh: () => void; refreshing: boolean; } export default function OllamaModelPicker({ models, value, onChange, onRefresh, refreshing, }: OllamaModelPickerProps) { if (models.length === 0) { return (

No models found. Pull a model with{" "} ollama pull qwen2.5:7b and refresh.

); } return (
{models.map((model) => { const isRecommended = RECOMMENDED_OLLAMA_MODELS.includes(model); return ( ); })}
); }