Open peterbanda opened 1 year ago
The result param in task_creation_agent, which always contains only data key-value pair, is included in the task_creation_agent's prompt as
result
task_creation_agent
data
The last completed task has the result: {result}.
Since result is of type Dict the actual output looks something like:
Dict
The last completed task has the result: {'data': '....'}
That's unnecessary too technical and can be flattened just to result["data"]. What was the point of enriching it to Dict at the first place?
result["data"]
Can provide a fix but need a feedback here.
The
result
param intask_creation_agent
, which always contains onlydata
key-value pair, is included in thetask_creation_agent
's prompt asSince
result
is of typeDict
the actual output looks something like:That's unnecessary too technical and can be flattened just to
result["data"]
. What was the point of enriching it toDict
at the first place?