Skip to content

BinaryContentInjectionMiddlewareSettings

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

optional name?: "binary-content-injection"

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


optional provider?: string

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

The gth provider string. It selects the per-provider image-block shape (see imageBlockFor) and, for every other format, decides whether the attachment may be sent at all (see nonImageBinaryFateFor). Derived by the registry factory via resolveVisionProvider(gthConfig); may be ''/absent, in which case the standard base64 block is emitted and nothing is refused.