参考图编辑按公开合同发送 JSON 和表单请求 #91

Merged
WuYongJie merged 1 commits from codex/98k-reference-edits-20261116 into main 2026-11-16 12:20:29 +08:00
Collaborator

Summary

参考图编辑按模型公开合同提交:JSON 入口绑定图片网址对象,表单入口生成正确的 multipart 正文和边界,清除示例文件占位符。存在 JSON 编辑入口时优先传递图片网址。

Scope

  • API / backend logic
  • Settings / admin configuration

Required Verification

  • pnpm check:branch
  • pnpm check:quality
  • pnpm build
  • AUTH_TRUST_HOST=true PORT=3001 pnpm dev
  • SMOKE_BASE_URL=http://127.0.0.1:3001 pnpm smoke:routes

66 项模型与参考图路由回归通过,TypeScript 检查通过。独立 main 发布目录的分支检查、生产构建和候选路由检查通过;使用精简生产运行目录进行路由验收,没有另起本地开发服务器。完整质量检查受仓库既有 lint 诊断阻塞。

Release Readiness

  • No real secrets, OAuth codes, cookies, Authorization headers, signed URLs, or .env.local values are included.
  • No tracked local artifacts such as .DS_Store, swap files, .claude/, migration backups, or tsconfig.tsbuildinfo.
  • No new public UI links point to /classic or /chat/[id].
  • /api/chat remains treated as an internal Canvas/Agent generation API.
  • No new high-risk logging.

Screenshots / Evidence

回归覆盖对象形式参考图、双参考图替换、JSON 编辑优先选择以及真实 Request/FormData 的序列化解析。未修改客户任务、默认模型或现有价格。

Follow-ups

六款 CL/VIP 均完成真实参考图编辑和七牛保存验证,实际尺寸与 1K、2K、4K 对应档位一致。通用适配和六款配置已于 2026-11-16 平滑上线,线上版本及配置回读通过。保留默认模型、价格与原用户任务。未完成新版本网页登录画布交互验收。

## Summary 参考图编辑按模型公开合同提交:JSON 入口绑定图片网址对象,表单入口生成正确的 multipart 正文和边界,清除示例文件占位符。存在 JSON 编辑入口时优先传递图片网址。 ## Scope - [x] API / backend logic - [x] Settings / admin configuration ## Required Verification - [x] `pnpm check:branch` - [ ] `pnpm check:quality` - [x] `pnpm build` - [ ] `AUTH_TRUST_HOST=true PORT=3001 pnpm dev` - [ ] `SMOKE_BASE_URL=http://127.0.0.1:3001 pnpm smoke:routes` 66 项模型与参考图路由回归通过,TypeScript 检查通过。独立 main 发布目录的分支检查、生产构建和候选路由检查通过;使用精简生产运行目录进行路由验收,没有另起本地开发服务器。完整质量检查受仓库既有 lint 诊断阻塞。 ## Release Readiness - [x] No real secrets, OAuth codes, cookies, Authorization headers, signed URLs, or `.env.local` values are included. - [x] No tracked local artifacts such as `.DS_Store`, swap files, `.claude/`, migration backups, or `tsconfig.tsbuildinfo`. - [x] No new public UI links point to `/classic` or `/chat/[id]`. - [x] `/api/chat` remains treated as an internal Canvas/Agent generation API. - [x] No new high-risk logging. ## Screenshots / Evidence 回归覆盖对象形式参考图、双参考图替换、JSON 编辑优先选择以及真实 Request/FormData 的序列化解析。未修改客户任务、默认模型或现有价格。 ## Follow-ups 六款 CL/VIP 均完成真实参考图编辑和七牛保存验证,实际尺寸与 1K、2K、4K 对应档位一致。通用适配和六款配置已于 2026-11-16 平滑上线,线上版本及配置回读通过。保留默认模型、价格与原用户任务。未完成新版本网页登录画布交互验收。
WuYongJie added 1 commit 2026-11-16 12:20:18 +08:00
WuYongJie merged commit 2d0238aca6 into main 2026-11-16 12:20:29 +08:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lunanting/ai-chatbot#91
No description provided.