mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
Fix import in test
This commit is contained in:
@@ -6,7 +6,7 @@ from langchain.agents.middleware.anthropic_tools import (
|
||||
StateClaudeMemoryMiddleware,
|
||||
StateClaudeTextEditorMiddleware,
|
||||
)
|
||||
from langchain.agents.middleware.file_utils import validate_path
|
||||
from langchain.agents._internal.file_utils import validate_path
|
||||
from langchain_core.messages import ToolMessage
|
||||
from langgraph.types import Command
|
||||
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
from langchain.agents.middleware.subagents import TASK_TOOL_DESCRIPTION, SubAgentMiddleware
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
@pytest.mark.requires("langchain_openai")
|
||||
class TestSubagentMiddleware:
|
||||
"""Test the SubagentMiddleware class."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user