From 6c638297f4f92839f839ef89e29c96bbe401ce0f Mon Sep 17 00:00:00 2001 From: Piyush Jain Date: Wed, 8 Nov 2023 15:03:56 -0800 Subject: [PATCH] Removed replit model. --- packages/jupyter-ai-magics/jupyter_ai_magics/providers.py | 1 - packages/jupyter-ai/jupyter_ai/chat_handlers/base.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py b/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py index e997a4312..3f4163bd1 100644 --- a/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py +++ b/packages/jupyter-ai-magics/jupyter_ai_magics/providers.py @@ -350,7 +350,6 @@ def __init__(self, **kwargs): "gpt4all-13b-snoozy-q4_0", "mpt-7b-chat-merges-q4_0", "orca-mini-3b-gguf2-q4_0", - "replit-code-v1_5-3b-q4_0", "starcoder-q4_0", "rift-coder-v0-7b-q4_0", "em_german_mistral_v01.Q4_0" diff --git a/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py b/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py index 5ffe65c7c..c7ca70f97 100644 --- a/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py +++ b/packages/jupyter-ai/jupyter_ai/chat_handlers/base.py @@ -68,7 +68,7 @@ async def handle_exc(self, e: Exception, message: HumanChatMessage): implementation is provided, however chat handlers (subclasses) should implement this method to provide a more helpful error response. """ - self._default_handle_exc(e, message) + await self._default_handle_exc(e, message) async def _default_handle_exc(self, e: Exception, message: HumanChatMessage): """