Skip to content

BinaryContentInjectionMiddlewareSettings

Defined in: packages/agent/src/middleware/binaryContentInjectionMiddleware.ts:40

optional name?: "binary-content-injection"

Defined in: packages/agent/src/middleware/binaryContentInjectionMiddleware.ts:41


optional provider?: string

Defined in: packages/agent/src/middleware/binaryContentInjectionMiddleware.ts:49

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.