BinaryContentInjectionMiddlewareSettings
Defined in: packages/agent/src/middleware/binaryContentInjectionMiddleware.ts:40
Properties
Section titled “Properties”
optionalname?:"binary-content-injection"
Defined in: packages/agent/src/middleware/binaryContentInjectionMiddleware.ts:41
provider?
Section titled “provider?”
optionalprovider?: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.