Assistant degrades to vision-model captions from turn 2 (vision-mode captioning regression) #79
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since the 2026-08-15/16 assistant update, the agent behaves wrongly from turn 2 in image-heavy conversations: it stops seeing library images itself and works only from captions produced by the configured vision model (visible as repeated
describe_imagechips).Root cause (traced on main
88f846a):#70 (
5b510be, "image replay spend") wired the caption describer andmaxInlineImages: 3into vision mode as a token-save optimization: on every run,_describeConversationImagesrewrites history images beyond the newest 3 in place to caption TextParts, and_syncHistorypersists that rewrite. Turn 1's images are newest → inline; on turn 2, once history holds >3 images, the model's own view of older images is destroyed and replaced by vision-model captions. ADR 0024 still specifies the captioner "only engages when the main model actually lacks image input" — #70 changed that behavior without updating the ADR. #76's 200k-char history budget (which counts images at a flat 4k chars) already bounds image accumulation, making the destructive in-place captioning redundant.Two hardening items from #70's own Follow-ups:
blindModeis recomputed each turn from_modelHasVision(fails closed on any/modelslisting failure, 5-min cache). A transient listing error ≥5 min into a session flips a vision-capable model into full blind mode mid-session.(image description failed: ...)into history permanently.Fix (restores ADR 0024 semantics):
DOUJIN_MANAGER_AGENT_MAX_INLINE_IMAGESknob; rely on #76's history budget.Symptom discriminators (for verification): with >3 viewed images, turn 1 answers from pixels; turn 2 answers about the oldest come from a caption; with ≤3 images nothing is captioned. If ≤3-image sessions also degrade, the detection flap is also live.