Skip to content

Commit

Permalink
remove /fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq committed Dec 9, 2024
1 parent a37f361 commit ae415fe
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 111 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 @@ -6,7 +6,6 @@
from .ask import AskChatHandler
from .base import BaseChatHandler, SlashCommandRoutingType
from .default import DefaultChatHandler
from .fix import FixChatHandler
from .generate import GenerateChatHandler
from .help import HelpChatHandler
from .learn import LearnChatHandler
106 changes: 0 additions & 106 deletions packages/jupyter-ai/jupyter_ai/chat_handlers/fix.py

This file was deleted.

4 changes: 0 additions & 4 deletions packages/jupyter-ai/jupyter_ai/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
AskChatHandler,
BaseChatHandler,
DefaultChatHandler,
FixChatHandler,
GenerateChatHandler,
HelpChatHandler,
LearnChatHandler,
Expand Down Expand Up @@ -538,13 +537,10 @@ def _init_chat_handlers(
retriever = Retriever(learn_chat_handler=learn_chat_handler)
ask_chat_handler = AskChatHandler(**chat_handler_kwargs, retriever=retriever)

fix_chat_handler = FixChatHandler(**chat_handler_kwargs)

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

slash_command_pattern = r"^[a-zA-Z0-9_]+$"
for chat_handler_ep in chat_handler_eps:
Expand Down

0 comments on commit ae415fe

Please sign in to comment.