Files
crewAI/lib
Joao Moura 2aae1fcf79 [EPD-196] Raise strict restore misses eagerly on streaming kickoffs
- stream_events/astream now pre-validate restore_from_state_id when
  raise_on_missing_state=True, so the ValueError surfaces at session
  creation time instead of only while consuming frames (Bugbot finding).
- Extract _missing_state_error/_no_persistence_error builders shared by
  the eager check and the runtime fork block so messages stay in sync.
- Add streaming tests: eager raise via stream_events, kickoff(stream=True),
  astream, kickoff_async(stream=True); valid-id strict streaming still
  hydrates and reports last_restore_succeeded=True.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-13 22:35:29 -07:00
..