You've already forked adk-python
mirror of
https://github.com/encounter/adk-python.git
synced 2026-03-30 10:57:20 -07:00
test: Skips test_langchain_tool.py temporarily after their new 1.0.0 release breaks existings deps of langchain
PiperOrigin-RevId: 820875043
This commit is contained in:
committed by
Copybara-Service
parent
dbd818be0b
commit
af74eba695
@@ -12,13 +12,22 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import pytest
|
||||
|
||||
# TODO: Re-enable this test after verifying LangchainTool and
|
||||
# LangGraphAgent against langchain's 1.0.0 release.
|
||||
pytest.skip(
|
||||
allow_module_level=True,
|
||||
reason="Langchain just made 1.0.0 release that breaks existing import.",
|
||||
)
|
||||
|
||||
|
||||
from unittest.mock import MagicMock
|
||||
|
||||
from google.adk.tools.langchain_tool import LangchainTool
|
||||
from langchain.tools import tool
|
||||
from langchain_core.tools.structured import StructuredTool
|
||||
from pydantic import BaseModel
|
||||
import pytest
|
||||
|
||||
|
||||
@tool
|
||||
|
||||
Reference in New Issue
Block a user