crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

What is "output" argument in the Task class, in the documentation it only shows output: TaskOutput | None = None, I want to know how to use it.

Open artzuros opened this issue 1 year ago • 1 comments

I want to save the "verbose" or the thought process of an individual agents' task, so I looked through the documentation but could only find the "output" argument. I would like to know how to use it. Whenever I try to assign it to some object it returns this error.

output
  Input should be a valid dictionary or instance of TaskOutput [type=model_type, input_value='', input_type=str]
    For further information visit https://errors.pydantic.dev/2.5/v/model_type```

artzuros avatar Feb 13 '24 18:02 artzuros

You can see it in the source here #630

whoabuddy avatar May 16 '24 22:05 whoabuddy