---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/functions/renderUntrustedContent.md
---

# Function: renderUntrustedContent()

```ts
function renderUntrustedContent(
  content: string,
  attrs: UntrustedContentAttrs,
): string;
```

Defined in: [batteries/llm/chat\_common/helpers.ts:191](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/chat_common/helpers.ts#L191)

Implements [ChatHelpersCommon.renderUntrustedContent](../llm/ollama/interfaces/ChatHelpersCommon.md#property-renderuntrustedcontent).

## Parameters

| Parameter | Type                                                              |
| --------- | ----------------------------------------------------------------- |
| `content` | `string`                                                          |
| `attrs`   | [`UntrustedContentAttrs`](../interfaces/UntrustedContentAttrs.md) |

## Returns

`string`
