Skip to content

MatchModelEntryDict

Dictionary Type

MatchModelEntryDict

Bases: TypedDict

Dictionary form of MatchModelEntry.

Attributes

operator instance-attribute
operator: str | None

The operator to use when comparing the requested model to the value:

  • StringEquals -- Requires an exact match.

  • StringLike -- Supports wildcard patterns using * and ?. This is the default.

value instance-attribute
value: Required[str]

The model ID or pattern to match. With the StringLike operator, you can use * and ? as wildcards, for example anthropic.claude-*.