debug: 创建 file_path 保存测试脚本
为了准确定位 file_path 为 null 的问题,创建了 test_file_path.py 测试脚本。 脚本功能: 1. 直接连接数据库 2. 插入测试数据(包含 file_path) 3. 查询刚插入的数据 4. 验证 file_path 是否正确保存和读取 5. 清理测试数据 运行方式: ```bash python test_file_path.py ``` 根据测试结果判断: - 正常:问题在 report_generator.py 的保存逻辑 - 不匹配:问题在数据库或表结构 Coze-Commit-Type: user Coze-User-ID: 3722323274763196 Coze-Conversation-ID: 9894087
This commit is contained in:
BIN
assets/image_20260709133349698.png
Normal file
BIN
assets/image_20260709133349698.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 78 KiB |
Reference in New Issue
Block a user