Files
goodbuddy/docs/features/image-generation
mesalogo 56ebd40bd8 feat: unify execution and add workspace file imports
Remove Ask/Execute modes and general product tool approvals so requests use the selected runtime, enabled capabilities, and execution account permissions. Migrate retired application metadata while preserving user content.

Retire the Results page while retaining conversation images and stored artifacts. Add local and remote workspace file imports, timestamps and sorting, improve image discovery and saving, and refine workspace navigation and supervision responsiveness. Include the accompanying web-search changes, tests, probes, and product documentation.

Remote imports require an updated Agent. Existing artifacts are not automatically copied into project directories. Validation evidence and outstanding failures remain documented in feature progress files; no full test suite or real-model calls were rerun for this commit.

Release note: Run requests without switching work modes, import files into a selected local or remote workspace folder, sort workspace files by date, and keep using conversation images after removal of the Results page.
2026-10-04 20:02:59 +08:00
..

图片生成与连续修改

本目录维护直连图片模型的生成、参考图编辑和会话续接行为。这是已有生图流程的修复, 不增加独立模型、工具审批或服务端会话管理。

产品行为

  • 首次无附图时生成新图片。同一桌面对话继续请求时,自动引用最近一次成功回复的图片, 同时发送此前的文字要求;本轮修改要求优先。
  • 本轮显式附图优先,不自动混入上一轮生成图。要独立生成不相关图片,使用新对话。
  • 已保存会话重新打开后仍可继续改图,引用已有成果,不依赖 Runtime 内存缓存。
  • 上游明确不支持编辑时,继续按文字生成,并在该回复底部说明未使用参考图片。 缺失历史成果时使用剩余可用上下文并提示,不禁用发送。
  • 网络、鉴权、限流、参数错误和真正的生成失败仍正常报错,不伪装成能力缺失。
  • 模型 ID、地址和质量服从用户的模型连接配置,不对特定服务商或模型别名做硬编码。 验证以用户指定的 sub-gpt-image-2 实际服务能力为准,不由其他模型的失败推断其能力。

文档导航

文档 权威职责
技术设计 请求、图片引用、协议与失败处理
UI 设计 消息底部提示及交互边界
功能进度 已验证事实和剩余验收

本次只补齐已有工作流,产品规则集中于本页,不另建重复的 PRD、User Stories 或状态机文档。

相关功能

  • 会话媒体生成设计:规划普通 LLM 通过工具调用图片、视频模型及模型切换行为,尚未实现。
  • 模型连接:地址、模型 ID、凭据与请求定制。
  • 直连文本 Agent:文本模型的工具和上下文压缩, 不等于图片模型支持 Responses 图片工具。
  • 远程主机:托管 SSH 当前使用 OpenCode,不运行本直连图片路径。