---
url: 'https://adk.nht.io/api/@nhtio/adk/batteries/functions/renderThought.md'
---

# Function: renderThought()

```ts
function renderThought(
  content: string,
  attrs: ThoughtAttrs,
  payload?: unknown,
): string;
```

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

Implements [ChatHelpersCommon.renderThought](../llm/ollama/interfaces/ChatHelpersCommon.md#property-renderthought).

## Parameters

| Parameter  | Type                                            |
| ---------- | ----------------------------------------------- |
| `content`  | `string`                                        |
| `attrs`    | [`ThoughtAttrs`](../interfaces/ThoughtAttrs.md) |
| `payload?` | `unknown`                                       |

## Returns

`string`
