update semantic search to use keychain as fallback

This commit is contained in:
KCaverly 2023-10-21 10:19:50 -04:00
parent 9c49191031
commit 106115676d
4 changed files with 73 additions and 12 deletions

View file

@ -352,7 +352,7 @@ impl View for ProjectSearchView {
major_text = Cow::Borrowed("Not Authenticated");
show_minor_text = false;
Some(
"API Key Missing: Please set 'OPENAI_API_KEY' in Environment Variables"
"API Key Missing: Please set 'OPENAI_API_KEY' in Environment Variables.\nIf this variable was set using the Assistant Panel, please restart Zed to Authenticate."
.to_string(),
)
}