From 9838ba85aa97d7827dc17b794a88536a72d6c2f4 Mon Sep 17 00:00:00 2001 From: Andrii Ieroshenko Date: Mon, 11 Dec 2023 16:06:53 -0800 Subject: [PATCH] update err msg wording as per @JasonWeill --- packages/jupyter-ai/jupyter_ai/chat_handlers/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py b/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py index c36088e52..bbfdc702b 100644 --- a/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py +++ b/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py @@ -135,7 +135,7 @@ def handle_api_key_error(self, e: Exception, message: HumanChatMessage): ): name = getattr(self.config_manager.lm_provider, "name", "") provider_name = f" {name}" if name else "" - response = f"Oops! It seems there's an issue with your{provider_name} API key. Please update your{provider_name} API key in the chat Settings." + response = f"Oops! There's a problem with your {provider_name} API key. Please update your{provider_name} API key in the chat settings." self.reply(response, message) async def _default_handle_exc(self, e: Exception, message: HumanChatMessage):