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 c0c8485
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/jupyter-ai/jupyter_ai/chat_handlers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
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 c0c8485

Please sign in to comment.