pre-populate ollama endpoint

This commit is contained in:
Lucas Oliveira 2025-09-24 10:38:01 -03:00
parent 3a7e67cc7a
commit c2f6a5fb86

View file

@ -19,7 +19,7 @@ export function OllamaOnboarding({
sampleDataset: boolean;
setSampleDataset: (dataset: boolean) => void;
}) {
const [endpoint, setEndpoint] = useState("");
const [endpoint, setEndpoint] = useState("http://localhost:11434");
const debouncedEndpoint = useDebouncedValue(endpoint, 500);
// Fetch models from API when endpoint is provided (debounced)