standard-tests: import fix (#25395)

This commit is contained in:
Bagatur 2024-08-14 09:13:56 -07:00 committed by GitHub
parent eec7bb4f51
commit 63c483ea01
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ from langchain_core.messages import (
from langchain_core.output_parsers import StrOutputParser from langchain_core.output_parsers import StrOutputParser
from langchain_core.prompts import ChatPromptTemplate from langchain_core.prompts import ChatPromptTemplate
from langchain_core.pydantic_v1 import BaseModel, Field from langchain_core.pydantic_v1 import BaseModel, Field
from langchain_core.tools.convert import tool from langchain_core.tools import tool
from pydantic import BaseModel as RawBaseModel from pydantic import BaseModel as RawBaseModel
from pydantic import Field as RawField from pydantic import Field as RawField

View File

@ -7,7 +7,7 @@ import pytest
from langchain_core.language_models import BaseChatModel from langchain_core.language_models import BaseChatModel
from langchain_core.pydantic_v1 import BaseModel, Field from langchain_core.pydantic_v1 import BaseModel, Field
from langchain_core.runnables import RunnableBinding from langchain_core.runnables import RunnableBinding
from langchain_core.tools.convert import tool from langchain_core.tools import tool
from langchain_standard_tests.base import BaseStandardTests from langchain_standard_tests.base import BaseStandardTests
from langchain_standard_tests.utils.pydantic import PYDANTIC_MAJOR_VERSION from langchain_standard_tests.utils.pydantic import PYDANTIC_MAJOR_VERSION