Skip to content

GoogleModelCatalog

Namespace AgentPrism · Assembly AgentPrism.Google.dll

Builds the catalog shown in the UI from the model definitions in provider settings.

public static class GoogleModelCatalog

objectGoogleModelCatalog

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

AgentPrism carries no built-in model list. This had a concrete cost with Gemini: measured, a call to gemini-2.5-flash returned “This model is no longer available to new users”. A list embedded in code can be wrong the very day it ships.

The catalog is not a validation list: a model name absent from it can still be used. The catalog only feeds the UI’s model selection screen and cost estimates.

Builds the catalog from the model definitions in settings.

public static IReadOnlyList<ModelDescriptor> Build(GoogleProviderOptions options)

options GoogleProviderOptions

Provider settings.

IReadOnlyList<ModelDescriptor>

Model list sorted by name. Empty list when there are no definitions.

When the same name is defined more than once, the last definition wins. Comparison is case-insensitive. Unnamed entries are ignored.

ArgumentNullException

options is null.