enable ollama query only when configured or endpoint present
This commit is contained in:
parent
449b5dc38e
commit
2b225ab554
1 changed files with 1 additions and 0 deletions
|
|
@ -36,6 +36,7 @@ export function OllamaOnboarding({
|
|||
error: modelsError,
|
||||
} = useGetOllamaModelsQuery(
|
||||
debouncedEndpoint ? { endpoint: debouncedEndpoint } : undefined,
|
||||
{ enabled: !!debouncedEndpoint || alreadyConfigured },
|
||||
);
|
||||
|
||||
// Use custom hook for model selection logic
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue