Skip to content

BinaryContentInjectionMiddlewareSettings

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

optional name?: "binary-content-injection"

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


optional provider?: string

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

The gth provider string selecting the per-provider image-block shape (see imageBlockFor). Derived by the registry factory via resolveVisionProvider(gthConfig); may be ''/absent, in which case the standard base64 image block is emitted. Only affects the image format — file/video/audio blocks are provider-agnostic.