fix: preserve kickoff_event_id on resume, verbose already works

This commit is contained in:
Greyson LaLonde
2026-04-03 12:21:05 +08:00
parent 2e1f882234
commit 743ebedd1b

View File

@@ -297,7 +297,8 @@ def prepare_kickoff(
normalized = before_callback(normalized)
started_event = CrewKickoffStartedEvent(crew_name=crew.name, inputs=normalized)
crew._kickoff_event_id = started_event.event_id
if crew._kickoff_event_id is None:
crew._kickoff_event_id = started_event.event_id
future = crewai_event_bus.emit(crew, started_event)
if future is not None:
try: