From e4d1d7c066bdeb3628ff2cb4f844a7016fc13c9f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 25 Oct 2023 22:48:21 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- packages/jupyter-ai/jupyter_ai/chat_handlers/base.py | 1 - packages/jupyter-ai/jupyter_ai/chat_handlers/generate.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py b/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py index f55c91c8f..8464f0fb2 100644 --- a/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py +++ b/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py @@ -67,7 +67,6 @@ def __init__( self.llm_params = None self.llm_chain = None - async def process_message(self, message: HumanChatMessage): """Processes the message passed by the root chat handler.""" try: diff --git a/packages/jupyter-ai/jupyter_ai/chat_handlers/generate.py b/packages/jupyter-ai/jupyter_ai/chat_handlers/generate.py index 6c75f023b..be2cb51c4 100644 --- a/packages/jupyter-ai/jupyter_ai/chat_handlers/generate.py +++ b/packages/jupyter-ai/jupyter_ai/chat_handlers/generate.py @@ -219,7 +219,7 @@ class GenerateChatHandler(BaseChatHandler): routing_method = "slash_command" slash_id = "generate" - def __init__(self, *args, **kwargs): + def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.llm = None