enable get openai models query when already configured
This commit is contained in:
parent
2b225ab554
commit
c9ec98a77c
1 changed files with 1 additions and 1 deletions
|
|
@ -48,7 +48,7 @@ export function OpenAIOnboarding({
|
||||||
: debouncedApiKey
|
: debouncedApiKey
|
||||||
? { apiKey: debouncedApiKey }
|
? { apiKey: debouncedApiKey }
|
||||||
: undefined,
|
: undefined,
|
||||||
{ enabled: debouncedApiKey !== "" || getFromEnv },
|
{ enabled: debouncedApiKey !== "" || getFromEnv || alreadyConfigured },
|
||||||
);
|
);
|
||||||
// Use custom hook for model selection logic
|
// Use custom hook for model selection logic
|
||||||
const {
|
const {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue