Thread fidelity_anchor through WatermarkRemover

The engine forwards the new kwarg into WatermarkRemover.remove_watermark,
which rejected it with TypeError on the real (non-fake) path - caught by
the deployed Modal smoke test, not by the unit fakes.
This commit is contained in:
Victor Kuznetsov
2026-08-18 21:32:57 -07:00
parent 42d427731f
commit 2298282b8b
@@ -190,6 +190,7 @@ class WatermarkRemover:
tile_size: int = 1024,
tile_overlap: int = 128,
text_manifest: VerifiedTextManifest | None = None,
fidelity_anchor: bool = False,
) -> Path:
"""Regenerate image pixels and write the result without AI metadata.
@@ -219,6 +220,7 @@ class WatermarkRemover:
tile_size=tile_size,
tile_overlap=tile_overlap,
text_manifest=text_manifest,
fidelity_anchor=fidelity_anchor,
)
self._write_output(result, destination)
return destination