mirror of
https://github.com/hwchase17/langchain.git
synced 2026-05-03 01:46:42 +00:00
update import for tests so they will pass
This commit is contained in:
@@ -10,14 +10,13 @@ from langchain_core.tools import tool
|
||||
from langgraph.stream import EventLog, StreamTransformer
|
||||
|
||||
from langchain.agents import create_agent
|
||||
from langchain.tools import ToolRuntime # noqa: TC001
|
||||
from tests.unit_tests.agents.model import FakeToolCallingModel
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from langgraph.prebuilt._tool_call_stream import ToolCallStream
|
||||
from langgraph.stream._types import ProtocolEvent
|
||||
|
||||
from langchain.tools import ToolRuntime
|
||||
|
||||
|
||||
@tool
|
||||
def echo(text: str) -> str:
|
||||
|
||||
Reference in New Issue
Block a user