mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-08-10 08:21:54 +00:00
refactor: remove redundant platform tool app assignment
`CrewAIPlatformActionTool` already receives `app` through Pydantic during base initialization. Remove the duplicate assignment to retain one owner for field state.
This commit is contained in:
@@ -50,7 +50,6 @@ class CrewAIPlatformActionTool(BaseTool):
|
||||
args_schema=args_schema,
|
||||
app=app,
|
||||
)
|
||||
self.app = app
|
||||
self.action_name = action_name
|
||||
self.action_schema = action_schema
|
||||
|
||||
|
||||
Reference in New Issue
Block a user