imeepos
74ca367081
🐛 fix: 修复 template run 数据格式与 identifier 缺失问题
主要修复:
1. ✅ 添加 transformFormDataToRunFormat 函数转换表单数据
2. ✅ 根据节点类型正确格式化数据:
- image: { images: [{ url: "..." }] }
- video: { videos: [{ url: "..." }] }
- text: { texts: ["..."] }
- select: { selections: "..." } (单选) / ["..."] (多选)
3. ✅ 添加 identifier 字段到 API 请求
4. ✅ 从 storage 获取用户 session 作为 identifier
修复问题:
- ❌ 之前:{ "data": { "node_xxx": "blob:..." } }
- ✅ 现在:{ "data": { "node_xxx": { "images": [{ "url": "..." }] } }, "identifier": "user-id" }
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 18:30:03 +08:00
..
2025-11-11 18:30:03 +08:00
2025-11-11 18:20:39 +08:00
2025-11-11 18:11:05 +08:00
2025-11-10 11:58:56 +08:00
2025-10-14 10:32:52 +08:00