mirror of
https://github.com/Mintplex-Labs/langchain-python.git
synced 2026-07-21 00:35:23 -04:00
d7e17fc8fe
- Deprecate StdInInquire tool (dup of HumanInputRun) - Expose missing tools from `langchain.tools`
18 lines
454 B
Python
18 lines
454 B
Python
"""Tools for interacting with the user."""
|
|
|
|
|
|
import warnings
|
|
from typing import Any
|
|
|
|
from langchain.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)
|