group-wbl/.venv/lib/python3.13/site-packages/langchain_community/tools/interaction/tool.py

17 lines
463 B
Python
Raw Normal View History

2026-01-09 09:48:03 +08:00
"""Tools for interacting with the user."""
import warnings
from typing import Any
from langchain_community.tools.human.tool import HumanInputRun
def StdInInquireTool(*args: Any, **kwargs: Any) -> HumanInputRun:
"""Tool for asking the user for input."""
warnings.warn(
"StdInInquireTool will be deprecated in the future. "
"Please use HumanInputRun instead.",
DeprecationWarning,
)
return HumanInputRun(*args, **kwargs)