Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan committed Jul 11, 2024
1 parent 03bcf88 commit 82ec9f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/core/langchain_core/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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"):
Expand Down

0 comments on commit 82ec9f9

Please sign in to comment.