Skip to content

Commit

Permalink
remove /export
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq committed Dec 9, 2024
1 parent bfe8766 commit 470b8fe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 55 deletions.
1 change: 0 additions & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from .base import BaseChatHandler, SlashCommandRoutingType
from .clear import ClearChatHandler
from .default import DefaultChatHandler
from .export import ExportChatHandler
from .fix import FixChatHandler
from .generate import GenerateChatHandler
from .help import HelpChatHandler
Expand Down
49 changes: 0 additions & 49 deletions packages/jupyter-ai/jupyter_ai/chat_handlers/export.py

This file was deleted.

5 changes: 0 additions & 5 deletions packages/jupyter-ai/jupyter_ai/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import re
import time
import types
import uuid
from functools import partial
from typing import Dict, Optional

Expand All @@ -26,7 +25,6 @@
BaseChatHandler,
ClearChatHandler,
DefaultChatHandler,
ExportChatHandler,
FixChatHandler,
GenerateChatHandler,
HelpChatHandler,
Expand Down Expand Up @@ -542,16 +540,13 @@ def _init_chat_handlers(
retriever = Retriever(learn_chat_handler=learn_chat_handler)
ask_chat_handler = AskChatHandler(**chat_handler_kwargs, retriever=retriever)

export_chat_handler = ExportChatHandler(**chat_handler_kwargs)

fix_chat_handler = FixChatHandler(**chat_handler_kwargs)

chat_handlers["default"] = default_chat_handler
chat_handlers["/ask"] = ask_chat_handler
chat_handlers["/clear"] = clear_chat_handler
chat_handlers["/generate"] = generate_chat_handler
chat_handlers["/learn"] = learn_chat_handler
chat_handlers["/export"] = export_chat_handler
chat_handlers["/fix"] = fix_chat_handler

slash_command_pattern = r"^[a-zA-Z0-9_]+$"
Expand Down

0 comments on commit 470b8fe

Please sign in to comment.