---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/transformers_js/helpers/interfaces/ResolvedGenerationOptions.md
description: 'The resolved, fully-defaulted generation config the adapters consume.'
---

# Interface: ResolvedGenerationOptions

Defined in: [src/batteries/llm/chat\_common/generation.ts:63](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L63)

The resolved, fully-defaulted generation config the adapters consume.

## Properties

| Property                                              | Type                                            | Description                                         | Defined in                                                                                                                                            |
| ----------------------------------------------------- | ----------------------------------------------- | --------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
|  `enableThinking` | `boolean`                                       | Whether thinking/reasoning mode is enabled.         | [src/batteries/llm/chat\_common/generation.ts:77](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L77) |
|  `maxTokens`           | `number`                                        | Max tokens to generate this turn.                   | [src/batteries/llm/chat\_common/generation.ts:65](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L65) |
|  `multimodal`         | { `audio`: `boolean`; `image`: `boolean`; }   | Resolved multimodal-input flags by kind.            | [src/batteries/llm/chat\_common/generation.ts:79](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L79) |
| `multimodal.audio`                                    | `boolean`                                       | -                                                   | [src/batteries/llm/chat\_common/generation.ts:79](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L79) |
| `multimodal.image`                                    | `boolean`                                       | -                                                   | [src/batteries/llm/chat\_common/generation.ts:79](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L79) |
|  `sampler`               | [`ChatSampler`](../type-aliases/ChatSampler.md) | The resolved sampler strategy.                      | [src/batteries/llm/chat\_common/generation.ts:67](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L67) |
|  `seed?`                    | `number`                                        | RNG seed, when provided.                            | [src/batteries/llm/chat\_common/generation.ts:75](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L75) |
|  `temperature`       | `number`                                        | Sampling temperature (used by `'top-k'`/`'top-p'`). | [src/batteries/llm/chat\_common/generation.ts:69](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L69) |
|  `topK`                     | `number`                                        | Top-K cutoff (used by `'top-k'`).                   | [src/batteries/llm/chat\_common/generation.ts:71](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L71) |
|  `topP`                     | `number`                                        | Top-P (nucleus) cutoff (used by `'top-p'`).         | [src/batteries/llm/chat\_common/generation.ts:73](https://github.com/NHTIO/ADK/blob/v1.20260713.1/src/src/batteries/llm/chat_common/generation.ts#L73) |
