mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-13 06:23:03 +00:00
fix: add 'task' (singular) to TRACE_EXCLUDE_FIELDS
agent_execution_error and task_failed events have a task: Any field holding a full Task object. 'tasks' (plural) was excluded but 'task' (singular) was not, so the full object leaked through serialization.
This commit is contained in:
@@ -134,6 +134,7 @@ TRACE_EXCLUDE_FIELDS = {
|
||||
"crew",
|
||||
"agent",
|
||||
"agents",
|
||||
"task",
|
||||
"tasks",
|
||||
"context",
|
||||
# Heavy fields not needed in individual trace events
|
||||
|
||||
Reference in New Issue
Block a user