mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-01 07:13:00 +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",
|
"crew",
|
||||||
"agent",
|
"agent",
|
||||||
"agents",
|
"agents",
|
||||||
|
"task",
|
||||||
"tasks",
|
"tasks",
|
||||||
"context",
|
"context",
|
||||||
# Heavy fields not needed in individual trace events
|
# Heavy fields not needed in individual trace events
|
||||||
|
|||||||
Reference in New Issue
Block a user