Skip to content
1 min read · 38 words

Variable: E_INVALID_OLLAMA_EMBEDDINGS_OPTIONS

ts
const E_INVALID_OLLAMA_EMBEDDINGS_OPTIONS: CreatedException<[string]>;

Defined in: src/batteries/embeddings/ollama/exceptions.ts:22

Thrown when the resolved adapter options fail validation against ollamaEmbeddingsOptionsSchema — e.g. a missing/empty model, or an unknown option key. Fatal: config bugs fail loud at construction time, not at embed time.