Fix OpenAI key URL (#17675)

Update the create Open AI Key URL

Release Notes:

- Fixed a link in the Assistant panel to the OpenAI console.
This commit is contained in:
Amin Ahmed Khan 2024-09-11 06:14:43 +03:00 committed by GitHub
parent ccf6f27b8f
commit ef5a7e1642
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -491,7 +491,7 @@ impl ConfigurationView {
impl Render for ConfigurationView { impl Render for ConfigurationView {
fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement { fn render(&mut self, cx: &mut ViewContext<Self>) -> impl IntoElement {
const OPENAI_CONSOLE_URL: &str = "https://console.anthropic.com/settings/keys"; const OPENAI_CONSOLE_URL: &str = "https://platform.openai.com/api-keys";
const INSTRUCTIONS: [&str; 6] = [ const INSTRUCTIONS: [&str; 6] = [
"To use the assistant panel or inline assistant, you need to add your OpenAI API key.", "To use the assistant panel or inline assistant, you need to add your OpenAI API key.",
" - You can create an API key at: ", " - You can create an API key at: ",