---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/ollama/validation/variables/ollamaOptionsSchema.md
description: >-
  Validator schema for `OllamaAdapterOptions`. Used by `validateOptions` at
  construction time and again at the start of every iteration after options have
  been merged (stash > executor > constructor). Rejects unknown top-level keys
  so typos fail loud.
---

# Variable: ollamaOptionsSchema

```ts
const ollamaOptionsSchema: ObjectSchema<OllamaAdapterOptions>;
```

Defined in: [batteries/llm/ollama/validation.ts:148](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/llm/ollama/validation.ts#L148)

Validator schema for `OllamaAdapterOptions`. Used by `validateOptions` at construction time and
again at the start of every iteration after options have been merged (stash > executor >
constructor). Rejects unknown top-level keys so typos fail loud.
