Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 12, 2024
1 parent 723d7ba commit f626c31
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
from jupyter_ai.context_providers import BaseContextProvider
from jupyter_ai.handlers import RootChatHandler
from jupyter_ai.history import BoundedChatHistory
from jupyter_ai.context_providers import BaseContextProvider
from langchain_core.chat_history import BaseChatMessageHistory


Expand Down
1 change: 0 additions & 1 deletion packages/jupyter-ai/jupyter_ai/chat_handlers/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

from ..context_providers import ContextProviderException
from ..models import HumanChatMessage
from ..context_providers import ContextProviderException
from .base import BaseChatHandler, SlashCommandRoutingType


Expand Down
2 changes: 0 additions & 2 deletions packages/jupyter-ai/jupyter_ai/extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
HelpChatHandler,
LearnChatHandler,
)
from .context_providers import FileContextProvider, LearnedContextProvider
from .completions.handlers import DefaultInlineCompletionHandler
from .config_manager import ConfigManager
from .context_providers import FileContextProvider, LearnedContextProvider
Expand All @@ -35,7 +34,6 @@
ModelProviderHandler,
RootChatHandler,
SlashCommandsInfoHandler,
AutocompleteOptionsHandler,
)
from .history import BoundedChatHistory

Expand Down
4 changes: 1 addition & 3 deletions packages/jupyter-ai/jupyter_ai/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@
ListProvidersResponse,
ListSlashCommandsEntry,
ListSlashCommandsResponse,
ListOptionsEntry,
ListOptionsResponse,
Message,
PendingMessage,
UpdateConfigRequest,
Expand All @@ -47,8 +45,8 @@
from jupyter_ai_magics.embedding_providers import BaseEmbeddingsProvider
from jupyter_ai_magics.providers import BaseProvider

from .history import BoundedChatHistory
from .context_providers import BaseContextProvider
from .history import BoundedChatHistory


class ChatHistoryHandler(BaseAPIHandler):
Expand Down

0 comments on commit f626c31

Please sign in to comment.