inputModalitiesFor function
The input modalities for modelId per the heuristic — used when
switching to a model the endpoint reported no metadata for.
Implementation
List<String> inputModalitiesFor(String modelId) =>
modelIdSuggestsVision(modelId) ? const ['text', 'image'] : const ['text'];