---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/embeddings/webllm/exceptions/variables/E_INVALID_WEBLLM_EMBEDDINGS_OPTIONS.md
description: >-
  Thrown when the resolved adapter options fail validation against
  `webLLMEmbeddingsOptionsSchema` — e.g. a missing/empty `model`, an unknown
  option key, or no WebGPU support in the current runtime. Fatal: config bugs
  fail loud, not at embed time.
---

# Variable: E\_INVALID\_WEBLLM\_EMBEDDINGS\_OPTIONS

```ts
const E_INVALID_WEBLLM_EMBEDDINGS_OPTIONS: CreatedException<[string]>;
```

Defined in: [batteries/embeddings/webllm/exceptions.ts:19](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/batteries/embeddings/webllm/exceptions.ts#L19)

Thrown when the resolved adapter options fail validation against
`webLLMEmbeddingsOptionsSchema` — e.g. a missing/empty `model`, an unknown option key, or no
WebGPU support in the current runtime. Fatal: config bugs fail loud, not at embed time.
