AnthropicModelCatalog
AgentPrism.Anthropic.dllBuilds the catalog shown to the UI from the model definitions in provider settings.
public static class AnthropicModelCatalogInheritance
Section titled “Inheritance”object ← AnthropicModelCatalog
Inherited Members
Section titled “Inherited Members”object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”AgentPrism carries no built-in model list. Model names and prices change far faster than a NuGet package’s release cadence; a list baked into the code goes stale quickly.
The catalog is not a validation list: a model name absent from it can still be used — the provider sends the request to Anthropic as given. The catalog only feeds the UI’s model picker and cost calculation.
"AgentPrism": { "Providers": { "Anthropic": { "Models": [ { "Name": "claude-sonnet-5", "ContextWindowTokens": 200000, "InputCostPerMillionTokens": 3 } ]}}}Methods
Section titled “Methods”Build(AnthropicProviderOptions)
Section titled “ Build(AnthropicProviderOptions)”Builds the catalog from the model definitions in settings.
public static IReadOnlyList<ModelDescriptor> Build(AnthropicProviderOptions options)Parameters
Section titled “Parameters”options AnthropicProviderOptions
Provider settings.
Returns
Section titled “Returns”IReadOnlyList<ModelDescriptor>
The model list, sorted by name. Empty when there are no definitions.
Remarks
Section titled “Remarks”When the same name is defined more than once, the last definition wins. Comparison is case-insensitive. Nameless entries are ignored.
Exceptions
Section titled “Exceptions”options is null.