Skip to content

Commit

Permalink
chore: refactor pydantic v1 code
Browse files Browse the repository at this point in the history
  • Loading branch information
maciejmajek committed Jan 10, 2025
1 parent 95e7124 commit cc52f2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/developer_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ See the example below.

```python
from langchain.tools import tool, BaseTool
from langchain.pydantic_v1 import BaseModel, Field
from pydantic import BaseModel, Field
from typing import Type
from myrobot import robot

Expand Down
2 changes: 1 addition & 1 deletion tests/messages/test_multimodal.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
)
from langchain_core.language_models.chat_models import BaseChatModel
from langchain_core.messages import AIMessage, BaseMessage
from langchain_core.pydantic_v1 import BaseModel, Field
from langfuse.callback import CallbackHandler
from pydantic import BaseModel, Field
from pytest import FixtureRequest

from rai.messages import HumanMultimodalMessage
Expand Down

0 comments on commit cc52f2e

Please sign in to comment.