Announce attachments, do not preload their full text
Drop the provider-side inlining of every attached document's extracted text. formatChatMessageContent already prepends a deterministic manifest (filename + document_id) to the user message, so the model always knows what is attached and pulls content via the Library tools only when it needs it. Aligns chat.ts with the test committed in f1adf5a, which asserts the manifest is present and full text is not. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016yXxuitxX5h4wm1v88hnga
| Repository | eliziff/Beaver |
|---|---|
| Author | Eli Ziff <eliasziff@gmail.com> |
| Authored | |
| Parents | f1adf5a4 |
| Stats | 1 file changed , +5 , -25 |
| Part of | Chat backend features and prompt/context-budget management |
Capture this commit into my fork
Download a Markdown prompt that tells Claude how to port this
exact commit into your working tree. Run it via
claude -p < capture-commit-2d59ad07.md
from inside the repo you want the change in.