主要修复: 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> |
||
|---|---|---|
| .. | ||
| [id] | ||
| [id].tsx | ||