The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: Fixing the SlackGetChannel Tool Input Error (#15725)
Mohammad Mohtashim9e779ca84647
diff --git a/libs/community/langchain_community/tools/slack/get_channel.py b/libs/community/langchain_community/tools/slack/get_channel.pyindex 0ed5d817a2..a3dbe13939 100644--- a/libs/community/langchain_community/tools/slack/get_channel.py+++ b/libs/community/langchain_community/tools/slack/get_channel.py@@ -1,6 +1,6 @@import jsonimport logging-from typing import Optional+from typing import Any, Optionalfrom langchain_core.callbacks import CallbackManagerForToolRun@@ -11,11 +11,12 @@ class SlackGetChannel(SlackBaseTool):"""Tool that gets Slack channel information."""name: str = "get_channelid_name_dict"- description: str = "Use this tool to get channelid-name dict."+ description: str = (+ "Use this tool to get channelid-name dict. There is no input to this tool"+ )def _run(- self,- run_manager: Optional[CallbackManagerForToolRun] = None,+ self, *args: Any, run_manager: Optional[CallbackManagerForToolRun] = None) -> str:try:logging.getLogger(__name__)