docs(core): explain attachment estimate filtering
This commit is contained in:
parent
6cc8195572
commit
f953a8f7e3
1 changed files with 1 additions and 0 deletions
|
|
@ -86,6 +86,7 @@ const textContext = (request: LLMRequest) => ({
|
|||
system: request.system,
|
||||
// TODO: Replace blanket attachment exclusion with model-aware media and file token accounting.
|
||||
messages: request.messages
|
||||
// Text attachments are lowered into dedicated marked messages; the original prompt is emitted separately.
|
||||
.filter((message) => message.metadata?.attachment === undefined)
|
||||
.map((message) => ({
|
||||
id: message.id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue