Files
crewAI/lib
Devin AI 36986b1364 fix: serialize guardrail callable fields for checkpointing
Task fields `guardrail` and `guardrails` store callable references that
caused PydanticSerializationError when RuntimeState serialized entities
during checkpointing. Add PlainSerializer annotations that convert
callables to their dotted-path strings via callable_to_string, matching
the existing pattern used for callback fields.

Fixes #5620

Co-Authored-By: João <joao@crewai.com>
2026-04-25 14:20:14 +00:00
..
2026-04-25 00:04:46 +08:00