fix: Add validation fix output_file issue when have '/' (#585)

* fix: Add validation fix output_file issue when have /

* fix: run black to format code

* fix: run black to format code
This commit is contained in:
Eduardo Chiarotti
2024-05-09 08:11:00 -03:00
committed by GitHub
parent 402c5f477b
commit 8063e1d154
4 changed files with 31 additions and 19 deletions

View File

@@ -256,9 +256,11 @@ class Telemetry:
"async_execution?": task.async_execution,
"output": task.expected_output,
"agent_role": task.agent.role if task.agent else "None",
"context": [task.description for task in task.context]
if task.context
else "None",
"context": (
[task.description for task in task.context]
if task.context
else "None"
),
"tools_names": [
tool.name.casefold() for tool in task.tools
],