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

# Function: buildBundledReasoningParsers()

```ts
function buildBundledReasoningParsers(
  opts?: ReasoningParserOptions,
): Record<Exclude<ReasoningParserName, "auto" | "none">, ReasoningParserFn>;
```

Defined in: [src/batteries/llm/chat\_common/reasoning\_parsers.ts:284](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/reasoning_parsers.ts#L284)

Build the bundled family parsers honouring [ReasoningParserOptions](../interfaces/ReasoningParserOptions.md) (e.g. orphan recovery).

## Parameters

| Parameter | Type                                                                |
| --------- | ------------------------------------------------------------------- |
| `opts`    | [`ReasoningParserOptions`](../interfaces/ReasoningParserOptions.md) |

## Returns

[`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)<[`Exclude`](https://www.typescriptlang.org/docs/handbook/utility-types.html#excludetype-excludedunion)<[`ReasoningParserName`](../type-aliases/ReasoningParserName.md), `"auto"` | `"none"`>, [`ReasoningParserFn`](../type-aliases/ReasoningParserFn.md)>
