From a6e552f376fcf1f59ccf444ea2f1a68701b51ed9 Mon Sep 17 00:00:00 2001 From: Andrii Ieroshenko Date: Tue, 19 Dec 2023 15:08:49 -0800 Subject: [PATCH] remove rebase artifacts --- packages/jupyter-ai/jupyter_ai/chat_handlers/base.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py b/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py index fa9685509..9f179de51 100644 --- a/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py +++ b/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py @@ -66,10 +66,6 @@ class BaseChatHandler: _requests_count = 0 """Class attribute set to the number of requests that Jupyternaut is currently handling.""" - API_KEY_EXCEPTION_RESPONSES = { - OpenAIAuthenticationError: "Oops! It seems there's an issue with your OpenAI API key. Please update your OpenAI API key in the chat Settings. You can find your OpenAI API key at [https://platform.openai.com/account/api-keys](https://platform.openai.com/account/api-keys)." - } - API_KEY_EXCEPTIONS = (OpenAIAuthenticationError,) def __init__( self,