Skip to content

Commit

Permalink
Update packages/jupyter-ai/jupyter_ai/chat_handlers/base.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jason Weill <[email protected]>
  • Loading branch information
andrii-i and JasonWeill authored Dec 13, 2023
1 parent 7b43da9 commit d6d5db7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def handle_api_key_exc(self, e: Exception, message: HumanChatMessage):
if hasattr(self.config_manager, "lm_provider"):
name = getattr(self.config_manager.lm_provider, "name", "")
provider_name = f" {name}" if name else ""
response = f"Oops! There's a problem with your{provider_name} API key. Please update your{provider_name} API key in the chat settings."
response = f"Oops! There's a problem connecting to {provider_name}. 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):
Expand Down

0 comments on commit d6d5db7

Please sign in to comment.