Skip to content

NonImageBinaryFate

NonImageBinaryFate = "silently-discarded" | "delivered-or-loud" | "unmeasured"

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/middleware/binaryContentInjectionMiddleware.ts:67

What a provider’s message converter does with a NON-IMAGE standard data block ({ type:'file'|'audio'|'video'|'binary', source_type:'base64', mime_type, data }) — the block createContentBlock builds. (Named, not {@link}ed: it is module-private, and a link to an unexported symbol renders as dead text in the API reference.)

  • silently-discarded — the converter replaces the block with an empty part and builds a request as if nothing were attached. Nothing throws, nothing warns, and the model answers about content it never received. This is the only value that must be refused.
  • delivered-or-loud — the client either puts the data in the request body or fails where somebody sees it: a client-side throw, or a provider rejection the user reads. For most labels what CFG-63 measured is the CLIENT half and gth stays out of the way. groq is the one whose client settles nothing — it forwards the block untouched — so its SERVER half was measured separately, and it rejects. See the groq arm below.
  • unmeasured — the label is not enumerated below. Treated exactly as before this check existed.