Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add API key retrieval from cookies in SearchBar
The code now tries to retrieve the OpenAI API key from the user's cookies during a search. If the API key is not present, a modal is launched to request it. This provides a seamless experience when the API key is not available, preventing unnecessary search attempts.
- Loading branch information