Skip to content
1 min read · 42 words

Variable: E_INVALID_WEBLLM_EMBEDDINGS_OPTIONS

ts
const E_INVALID_WEBLLM_EMBEDDINGS_OPTIONS: CreatedException<[string]>;

Defined in: batteries/embeddings/webllm/exceptions.ts:19

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.