remove name attribute from ActionEvent type events

This commit is contained in:
Pratyush Shukla
2025-01-30 22:40:08 +05:30
parent 34bb50e386
commit 8b83e3ccc8
2 changed files with 0 additions and 2 deletions

View File

@@ -29,7 +29,6 @@ class ToolsHandler:
if agentops: if agentops:
agentops.record( agentops.record(
agentops.ActionEvent( agentops.ActionEvent(
name=calling.tool_name,
action_type="on_tool_use", action_type="on_tool_use",
params=calling.arguments, params=calling.arguments,
returns=output, returns=output,

View File

@@ -510,7 +510,6 @@ class ToolUsage:
if agentops: if agentops:
agentops.record( agentops.record(
agentops.ActionEvent( agentops.ActionEvent(
name=tool_calling.tool_name,
action_type="on_tool_use_finished", action_type="on_tool_use_finished",
params=tool_calling.arguments, params=tool_calling.arguments,
returns=event_data, returns=event_data,