remove agentops from on_tool_use args

This commit is contained in:
Pratyush Shukla
2025-02-04 10:53:12 +05:30
parent ade4e71eae
commit ad9aaf3ed5
2 changed files with 0 additions and 2 deletions

View File

@@ -21,7 +21,6 @@ class ToolsHandler:
calling: Union[ToolCalling, InstructorToolCalling],
output: str,
should_cache: bool = True,
agentops: Optional[Any] = None,
) -> Any:
"""Run when tool ends running."""
self.last_used_tool = calling # type: ignore # BUG?: Incompatible types in assignment (expression has type "Union[ToolCalling, InstructorToolCalling]", variable has type "ToolCalling")

View File

@@ -248,7 +248,6 @@ class ToolUsage:
calling=calling,
output=result,
should_cache=should_cache,
agentops=agentops,
)
if agentops: