Skip to content
1 min read · 39 words

Variable: defaultRenderTrustedContent

ts
const defaultRenderTrustedContent: (
  content: string,
  attrs: TrustedContentAttrs,
) => string = renderTrustedContent;

Defined in: batteries/llm/chat_common/helpers.ts:210

Default trusted-content renderer; alias of renderTrustedContent.

Implements ChatHelpersCommon.renderTrustedContent.

Parameters

ParameterType
contentstring
attrsTrustedContentAttrs

Returns

string