Skip to content
1 min read · 39 words

Variable: defaultRenderTrustedContent

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

Defined in: src/batteries/llm/chat_common/helpers.ts:355

Default trusted-content renderer; alias of renderTrustedContent.

Implements ChatHelpersCommon.renderTrustedContent.

Parameters

ParameterType
contentstring
attrsTrustedContentAttrs

Returns

string