Skip to content

How to stop flow/task execution if researcher cant find any results? #4

@ddowie

Description

@ddowie

Hi there,
do you maybe know a good way how to stop the flow / task execution when researcher crew can't find any relevant information about the given topic?

In that scenario crew creates pydantic object with values:
{
key1: I couldn't find anything usefull
key2: I couldn't find anything usefull
}
and passes it to the next crew just to rewrite it "didnt find anything"

Btw I watched your video yesterday and it was great! You inspired me and today I made simple API that is returning crewai flow response so I can use it from my website.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions