Skip to content

Commit

Permalink
fix pydantic import
Browse files Browse the repository at this point in the history
  • Loading branch information
dlqqq committed Dec 26, 2023
1 parent cf9e051 commit e2c8976
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/jupyter-ai/jupyter_ai/chat_handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
from jupyter_ai.config_manager import ConfigManager, Logger
from jupyter_ai.models import AgentChatMessage, ChatMessage, HumanChatMessage
from jupyter_ai_magics.providers import BaseProvider

# necessary to prevent circular import
from pydantic import BaseModel
from langchain.pydantic_v1 import BaseModel

if TYPE_CHECKING:
from jupyter_ai.handlers import RootChatHandler
Expand Down

0 comments on commit e2c8976

Please sign in to comment.