agentops 0.1.5

This commit is contained in:
Braelyn Boynton
2024-04-19 19:07:53 -07:00
parent 7725e7c52e
commit c52b5e9690
2 changed files with 2 additions and 2 deletions

View File

@@ -165,7 +165,7 @@ class ToolUsage:
return error
self.task.increment_tools_errors()
if agentops:
agentops.record(agentops.ErrorEvent(details=e, trigger_event=tool_event))
agentops.record(agentops.ErrorEvent(exception=e, trigger_event=tool_event))
return self.use(calling=calling, tool_string=tool_string)
if self.tools_handler: