aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-16 15:20:49 +0200
committerDanilo M. <danix@danix.xyz>2026-10-16 15:20:49 +0200
commitdea4cd22a583e51f12f758c7864ebb2134cf2d5d (patch)
tree931258dc4b88624e67999ee445363117399bf739 /docs
parentb81d322fc61e0be533912b074ef17f0f72311760 (diff)
downloaddesktop-assistant-dea4cd22a583e51f12f758c7864ebb2134cf2d5d.tar.gz
desktop-assistant-dea4cd22a583e51f12f758c7864ebb2134cf2d5d.zip
Docs: page render bound
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/superpowers/specs/2026-10-16-attachments-design.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/superpowers/specs/2026-10-16-attachments-design.md b/docs/superpowers/specs/2026-10-16-attachments-design.md
index 2b56f7d..1f6a923 100644
--- a/docs/superpowers/specs/2026-10-16-attachments-design.md
+++ b/docs/superpowers/specs/2026-10-16-attachments-design.md
@@ -60,7 +60,7 @@ starts) and nothing is sent to the model:
| --- | --- | --- |
| text | a `text/*` mime type, or a code suffix (llamachat's list) | the file as UTF-8 (errors replaced) in a `--- file: name ---` block |
| image | png, jpeg, webp, gif | an `image_url` part, a base64 data URL |
-| pdf | `.pdf` | `pdftotext -layout` per page in one block; a page with no text is rendered with `pdftoppm -r 150 -scale-to 2048 -png` and sent as an image, at most 4 such pages (further ones are listed as not shown and the chip is truncated) |
+| pdf | `.pdf` | `pdftotext -layout` per page in one block; a page with no text is rendered with `pdftoppm -png` at 150 dpi, lowered so the longest side stays within 1600 px (never raised), and sent as an image, at most 4 such pages (further ones are listed as not shown and the chip is truncated) |
| other | anything else | refused, see above |
Text blocks share a budget: half the free context,