Skip to content

Commit 7ac7ed7

Browse files
author
stlc-bot
committed
feat(parse): apply watermark_handling to text output; add watermark e2e test (#27932)
Stainless-Generated-From: 539f4b3933a49763b3c254124d3071caba85a38e
1 parent 67c5f4a commit 7ac7ed7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎pkg/cmd/parsing.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ var parsingCreate = requestflag.WithInnerFlags(cli.Command{
227227
},
228228
&requestflag.InnerFlag[*string]{
229229
Name: "output-options.watermark-handling",
230-
Usage: "What to do with watermark text stamped across the page (e.g., 'CONFIDENTIAL', 'DRAFT'): 'move_to_end' (default) keeps it as the last block of the page's markdown and text output, 'move_to_start' as the first block, and 'remove' drops it. In every mode the detected text is reported in the page's `watermark` metadata. Requires version 2026-09-28 or later on the cost_effective, agentic, and agentic_plus tiers; ignored otherwise",
230+
Usage: "What to do with watermark text stamped across the page (e.g., 'CONFIDENTIAL', 'DRAFT'): 'move_to_end' (default) keeps it as the last block of the page's markdown, 'move_to_start' as the first block, and 'remove' drops it. The text output follows the same choice where the watermark is a line of its own in the PDF text layer. In every mode the detected text is reported in the page's `watermark` metadata. Requires version 2026-09-28 or later on the cost_effective, agentic, and agentic_plus tiers; ignored otherwise",
231231
InnerField: "watermark_handling",
232232
},
233233
},

0 commit comments

Comments
 (0)