mirror of
https://ghproxy.cflmy.top/https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-11-30 09:09:35 +08:00
Prompt admission counted stored images only toward the image count, so two uploads that each fit alone could exceed maxMessageImageBytes once a prompt cited both receipts. A staged image now records the byte length of its upload, and admission counts stored and encoded images together against both per-message limits before storing anything. An image upload cancelled after its last chunk, or while its image was stored, still received a receipt. The upload now checks cancellation after the read and again before staging, as the file stream path does; an image whose storage began stays stored, but no receipt is issued.