mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-01 15:22:37 +00:00
feat: remove unused logic
This commit is contained in:
@@ -168,8 +168,8 @@ class ToolUsage:
|
|||||||
|
|
||||||
if self.agent:
|
if self.agent:
|
||||||
event_data = {
|
event_data = {
|
||||||
"agent_key": self.agent.key if self.agent else None,
|
"agent_key": self.agent.key,
|
||||||
"agent_role": self.agent.role if self.agent else None,
|
"agent_role": self.agent.role,
|
||||||
"tool_name": self.action.tool,
|
"tool_name": self.action.tool,
|
||||||
"tool_args": self.action.tool_input,
|
"tool_args": self.action.tool_input,
|
||||||
"tool_class": self.action.tool,
|
"tool_class": self.action.tool,
|
||||||
|
|||||||
Reference in New Issue
Block a user