fs-lawrisk/lawrisk
Codex Agent 1fa9385d02 fix: resolve UUID JSON serialization error in checkpoint creation
Issue:
- Object of type <class 'uuid.UUID'> is not JSON serializable error when creating checkpoints
- UUID objects in database records couldn't be serialized to JSON

Solution:
- Updated json_serializer function in create_checkpoint() to properly handle UUID types
- Added explicit isinstance check for uuid.UUID before checking for isoformat
- Ensures all UUID values are converted to strings before JSON serialization

This ensures checkpoints can be created successfully with all database data types.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-30 11:52:06 +08:00
..
api feat: add database checkpoint management system 2025-10-30 10:33:35 +08:00
middleware refactor: 重新规划项目结构为标准Python包 2025-10-29 15:31:01 +08:00
services fix: resolve UUID JSON serialization error in checkpoint creation 2025-10-30 11:52:06 +08:00
utils refactor: 重新规划项目结构为标准Python包 2025-10-29 15:31:01 +08:00
__init__.py refactor: 重新规划项目结构为标准Python包 2025-10-29 15:31:01 +08:00