Files
crewAI/tests/test_flow_persistence.py
Devin AI f47ed4f1f1 Fix Flow persistence with nested Pydantic models (issue #2929)
- Use CrewJSONEncoder in SQLiteFlowPersistence.save_state() to properly serialize nested Pydantic models
- Add comprehensive test for nested Pydantic model persistence
- Resolves RuntimeError: Object of type CustomPydanticModel is not JSON serializable

Co-Authored-By: João <joao@crewai.com>
2025-06-01 06:54:48 +00:00

8.0 KiB