fix error

This commit is contained in:
Pratyush Shukla 2025-09-29 01:29:43 +05:30 committed by GitHub
parent d3368880fc
commit 61615da47c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -878,8 +878,9 @@ class SetupWizard:
)
self.env_vars["search"]["EXA_API_KEY"] = self._get_input(
"Enter your Exa API key (optional): ",
lambda x: x == "" or validate_api_key(x),
validate_api_key,
"Invalid API key.",
allow_empty=True,
default_value=self.env_vars["search"]["EXA_API_KEY"],
)