enable get openai models query when already configured

This commit is contained in:
Lucas Oliveira 2025-11-14 17:56:28 -03:00
parent 2b225ab554
commit c9ec98a77c

View file

@ -48,7 +48,7 @@ export function OpenAIOnboarding({
: debouncedApiKey
? { apiKey: debouncedApiKey }
: undefined,
{ enabled: debouncedApiKey !== "" || getFromEnv },
{ enabled: debouncedApiKey !== "" || getFromEnv || alreadyConfigured },
);
// Use custom hook for model selection logic
const {