modelInfoFor method
Returns the capability metadata for modelName.
Names not in knownModels fall back to the profile of their
GeminiModelFamily: commonTtsModelInfo for -tts names and
commonModelInfo for everything else.
Implementation
ModelInfo modelInfoFor(String modelName) =>
knownModels[modelName] ??
switch (GeminiModelFamily.of(modelName)) {
.tts => commonTtsModelInfo,
.text || .image => commonModelInfo,
};