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

# Function: renderUntrustedContent()

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

Defined in: [batteries/llm/openai\_chat\_completions/helpers.ts:208](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/batteries/llm/openai_chat_completions/helpers.ts#L208)

## Parameters

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

## Returns

`string`
