We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d14d515 commit e92e8c9Copy full SHA for e92e8c9
src/langtrace_python_sdk/instrumentation/crewai/patch.py
@@ -223,7 +223,7 @@ def _parse_tasks(self, tasks):
223
for task in tasks:
224
self.crew["tasks"].append(
225
{
226
- "agent": task.agent.role,
+ "agent": task.agent.role if task.agent else None,
227
"description": task.description,
228
"async_execution": task.async_execution,
229
"expected_output": task.expected_output,
0 commit comments