Interface: UntrustedContentAttrs
Defined in: batteries/llm/chat_common/types.ts:97
Attribute bag rendered onto the trust envelope that wraps untrusted (third-party) content.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
kind | string | Content classifier rendered on the envelope. | batteries/llm/chat_common/types.ts:101 |
modality? | "inert" | "extractable" | "opaque" | When wrapping a @nhtio/adk!Media-derived text marker, the modality hazard axis derived from media.modalityHazard: 'inert', 'extractable' (from 'extractable-instructions'), or 'opaque' (from 'opaque-perceptual'). Omitted for non-media envelopes. | batteries/llm/chat_common/types.ts:109 |
nonce | string | Per-render nonce binding the envelope's open and close markers together. | batteries/llm/chat_common/types.ts:99 |
tool? | string | Name of the tool that produced the content, when applicable. | batteries/llm/chat_common/types.ts:103 |