Normalizes OCR annotation text while suppressing prompt-echo responses.
Some providers return the original annotation prompt verbatim instead of the parsed annotation
payload. When that happens and structured annotation data is available, the structured payload is
serialized instead so the artifact still carries useful content.
Normalizes OCR annotation text while suppressing prompt-echo responses.
Some providers return the original annotation prompt verbatim instead of the parsed annotation payload. When that happens and structured annotation data is available, the structured payload is serialized instead so the artifact still carries useful content.