Samuel Thomas commited on
Commit
2f39623
·
1 Parent(s): be7ea0e

fix for commutativity

Browse files
Files changed (1) hide show
  1. tools.py +2 -0
tools.py CHANGED
@@ -812,6 +812,7 @@ class CommutativityAnalysisTool(BaseTool):
812
  def _run(
813
  self,
814
  run_manager: Optional[CallbackManagerForToolRun] = None,
 
815
  ) -> str:
816
  """Execute the commutativity analysis synchronously."""
817
  try:
@@ -846,6 +847,7 @@ class CommutativityAnalysisTool(BaseTool):
846
  async def _arun(
847
  self,
848
  run_manager: Optional[AsyncCallbackManagerForToolRun] = None,
 
849
  ) -> str:
850
  """Execute the commutativity analysis asynchronously."""
851
  # For this simple computation, we can just call the synchronous version
 
812
  def _run(
813
  self,
814
  run_manager: Optional[CallbackManagerForToolRun] = None,
815
+ **kwargs: Any
816
  ) -> str:
817
  """Execute the commutativity analysis synchronously."""
818
  try:
 
847
  async def _arun(
848
  self,
849
  run_manager: Optional[AsyncCallbackManagerForToolRun] = None,
850
+ **kwargs: Any
851
  ) -> str:
852
  """Execute the commutativity analysis asynchronously."""
853
  # For this simple computation, we can just call the synchronous version