MCPcopy
hub / github.com/crewAIInc/crewAI / decide

Method decide

lib/crewai/tests/test_flow_visualization.py:406–409  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

404
405 @router(init)
406 def decide(self):
407 if hasattr(self, "state") and self.state.get("path") == "b":
408 return "event_b"
409 return "event_a"
410
411 @listen(or_("event_a", "event_b"))
412 def handle_either(self):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected