Modality Signal
Overview
modality detects whether a request should stay in text generation, switch into image generation, or support both. It maps to config/signal/modality/ and is declared under routing.signals.modality.
This family sits under heuristic because it usually routes from request form and configured modality behavior, even though deployments can later tune the detector through global.model_catalog.modules.modality_detector.