pre-populate ollama endpoint
This commit is contained in:
parent
3a7e67cc7a
commit
c2f6a5fb86
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export function OllamaOnboarding({
|
||||||
sampleDataset: boolean;
|
sampleDataset: boolean;
|
||||||
setSampleDataset: (dataset: boolean) => void;
|
setSampleDataset: (dataset: boolean) => void;
|
||||||
}) {
|
}) {
|
||||||
const [endpoint, setEndpoint] = useState("");
|
const [endpoint, setEndpoint] = useState("http://localhost:11434");
|
||||||
const debouncedEndpoint = useDebouncedValue(endpoint, 500);
|
const debouncedEndpoint = useDebouncedValue(endpoint, 500);
|
||||||
|
|
||||||
// Fetch models from API when endpoint is provided (debounced)
|
// Fetch models from API when endpoint is provided (debounced)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue