The consultant could surface an unrelated dish as if it directly answered the
request. Now each recommendation is classified and presented accordingly.
- Prompt: model classifies each recommendation as type 'direct' (answers what was
asked) or 'complement' (pairs with it). Direct first and primary; complements
are optional and never used to pad to a count. Reasons must be anchored to a real
dish attribute or the dish isn't recommended. If nothing matches directly, the
intro says so gracefully instead of inventing a false direct match.
- Route: parse/validate the type (defaults to 'direct' if missing), keep existing
existence validation, order direct-first then complements, cap at 3.
- UI: AiConsultant renders direct cards first, then a 'Para acompañar' / 'To pair
with' header before complements (glassmorphism preserved).
- i18n: ai.pairWith in es/en (parity); the type field itself is internal, not translated.
Keeps prompt caching and the compact menu context. Verified: build passes; parser
orders direct-first, drops non-existent dishes, defaults missing type to direct.