createAttachmentContextProvider
@forge/monorepo / backend/src / createAttachmentContextProvider
Function: createAttachmentContextProvider()
createAttachmentContextProvider(
deps):ContextProvider
Defined in: backend/src/files/context.ts:159
The attachment section for a conversation.
knowledge rather than history: an attachment is a durable fact about the conversation, not a turn, and
putting it in the history bucket would make it compete with recent messages for the same budget. It is
prunable at the old-knowledge stage — an attachment list is worth dropping before a recent turn is.