aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-16 15:12:06 +0200
committerDanilo M. <danix@danix.xyz>2026-10-16 15:12:06 +0200
commit056853313dd73975a8af52e151af5eed33253fc7 (patch)
tree81e6b8eb932aedf77501e17dffc60e362c796297 /docs/superpowers
parent39d1ffbbb7cdaacb3b653545461bf01e3d62ad67 (diff)
downloaddesktop-assistant-056853313dd73975a8af52e151af5eed33253fc7.tar.gz
desktop-assistant-056853313dd73975a8af52e151af5eed33253fc7.zip
Docs: attachments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'docs/superpowers')
-rw-r--r--docs/superpowers/specs/2026-10-16-attachments-design.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/superpowers/specs/2026-10-16-attachments-design.md b/docs/superpowers/specs/2026-10-16-attachments-design.md
index d8a8092..2b56f7d 100644
--- a/docs/superpowers/specs/2026-10-16-attachments-design.md
+++ b/docs/superpowers/specs/2026-10-16-attachments-design.md
@@ -1,6 +1,6 @@
# Attachments: design
-Date: 2026-10-16. Status: approved in brainstorming, not implemented.
+Date: 2026-10-16. Status: implemented (2026-10-16), live-checked.
## Goal
@@ -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 -png` and sent as an image, at most 4 such pages |
+| 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) |
| other | anything else | refused, see above |
Text blocks share a budget: half the free context,