mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 08:38:30 +00:00
agentops 0.1.5
This commit is contained in:
@@ -28,7 +28,7 @@ click = "^8.1.7"
|
||||
python-dotenv = "1.0.0"
|
||||
embedchain = "^0.1.98"
|
||||
appdirs = "^1.4.4"
|
||||
agentops = { version = "^0.1.1", optional = true }
|
||||
agentops = { version = "^0.1.5", optional = true }
|
||||
|
||||
[tool.poetry.extras]
|
||||
tools = ["crewai-tools"]
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user