Files
wbin90620andClaude Opus 5.5 7703b52dc1 fix(engine): refuse an image for a text-only embedder (#122)
An image sent to /v1/embeddings for a model with no image encoder ran as its
one placeholder token, and a text embedder such as EmbeddingGemma 2 answered
200 with 768 zeros. add_request now refuses an image input when the
pipeline's input modalities lack Vision, before any sequence exists.

/v1/embeddings folded every engine ValidationError into a 500; it now answers
them 422, as it already does its own checks and as the other endpoints map
validation errors.

Closes #122

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-19 20:33:29 -08:00
..

hanzo-engine

Core crate of hanzo including the models and associated executors.

Documentation: https://docs.rs/hanzo-engine/