* fix(chat): keep OCR/caption text of scanned-page image hits in merge
When pdf_force_scanned is enabled, the recognized page text lives only
in image_ocr/image_caption child chunks, while the parent markdown is
cut from image placeholders alone. The merge stage's image_parent_resolve
overwrote the hit content with the pruned parent markdown, so the OCR
text never reached the LLM context and answers degraded to placeholders.
Save the hit chunk's own body before the parent expansion and re-attach
it via JoinChunkContent, which collapses duplicates, so normal multimodal
hits (whose text is already covered by the surrounding content) are not
duplicated.
Fixes#3052
* fix(chat): avoid duplicating scanned OCR after parent merge
Re-attaching the image hit body into Content would be injected again
from ImageInfo during chat enrichment. Clear the matching OCR/caption
field so the model sees one copy, and cover caption plus pruned-placeholder paths.
* style(chat): wrap long merge parent-resolve test fixture
---------
Co-authored-by: LuckVd <LuckVd@users.noreply.github.com>
Co-authored-by: wizardchen <wizardchen@tencent.com>