From 82ec9f9ee0a747c0d0380fa3de1841ae20234b5a Mon Sep 17 00:00:00 2001 From: Bagatur Date: Wed, 10 Jul 2024 17:30:02 -0700 Subject: [PATCH] fmt --- libs/core/langchain_core/tools.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libs/core/langchain_core/tools.py b/libs/core/langchain_core/tools.py index bfce6bbfdb2f0..09b599a6eaa10 100644 --- a/libs/core/langchain_core/tools.py +++ b/libs/core/langchain_core/tools.py @@ -58,7 +58,6 @@ Callbacks, ) from langchain_core.load.serializable import Serializable -from langchain_core.messages.base import Content from langchain_core.messages.tool import ToolCall, ToolMessage from langchain_core.prompts import ( BasePromptTemplate, @@ -800,7 +799,7 @@ async def _arun( *args: Any, run_manager: Optional[AsyncCallbackManagerForToolRun] = None, **kwargs: Any, - ) -> Tuple[Content, Any]: + ) -> Any: """Use the tool asynchronously.""" if self.coroutine: if run_manager and signature(self.coroutine).parameters.get("callbacks"):