Skip to content

0.3.2 · 原生图片提问 / Native image questions

Choose a tag to compare

@1924225725-collab 1924225725-collab released this 24 Oct 05:09
  • 新增用户图片提问与历史追问:从 DSH 附件服务读取图片,使用官方 stream-json 原生 image 输入,保留原生 Schema 输出。
  • 模型目录增加图片能力标记,未知或未声明能力的路由不接收图片;纯文字调用保留原路径。
  • 多图通过索引关联历史消息;最多保留 5 张请求图片,每张转换后 ≤2 MiB、最长边 ≤1920,Base64 合计 ≤8 MiB,文字与图片总请求 ≤20 MiB。超预算通过 DSH 的持久图片卸载机制处理,不静默丢图。
  • 图片流支持总超时、取消、严格 JSONL 与唯一终态检查;业务工具仍由 DSH 执行。
  • 含图片历史的调用禁用失败原文采集,普通日志仅记录图片数量与字节统计。更新中英配置说明、使用指南和安装教程。

本次发布通过 74 项自动检查,以及新版适配器的六次官方 CLI 合成图片联调(PNG 单图、追问、双图顺序、工具提案、模拟工具后总结、JPEG 补测)。国内实测模型为 deepseek-v4.1-flash,CLI 2.173.0;附件接口使用隔离测试实现,没有执行真实 DSH 业务工具,尚未完成 DSH 上传界面的人工端到端验收,也未逐一验证所有模型。官方结构化处理可能包含内部多轮,用量以官方为准。

  • Add user image questions and history follow-ups through DSH attachments and official native image blocks in stream-json, retaining native Schema output.
  • Show catalog-declared image capability; reject images for unknown/undeclared routes and preserve the existing text-only transport.
  • Associate images with history by index. Retain up to 5 request images, each converted to ≤2 MiB and longest edge ≤1920; combined Base64 ≤8 MiB, total text/image request ≤20 MiB. Request durable DSH image offloading rather than silently dropping history.
  • Bound image streams with cancellation, deadlines, strict JSONL and unique-terminal validation. DSH continues to execute business tools.
  • Disable raw failure capture for calls containing image history. Basic logs retain counts/byte totals only. Update bilingual settings, guides and installation instructions.

This release passed 74 automated checks and six synthetic official CLI image calls through the new adapter: PNG single image, follow-up, two-image order, tool proposal, summary after a simulated tool result and a JPEG check. China-region live tests used deepseek-v4.1-flash and CLI 2.173.0 with an isolated attachment-service test double. No real DSH business tool ran; DSH upload-UI manual end-to-end validation and every-model coverage remain outstanding. Official structured processing may involve internal model turns; official usage applies.

Official image input documentation: https://www.codebuddy.cn/docs/cli/headless