gpt-4o and you want that traffic served by
whatever you have decided is best this month.
Fields
auto and a bare * are rejected as sources, since both would swallow
everything.
Globs
One wildcard,*, matching any run of characters. openai/gpt-* catches
openai/gpt-4o and openai/gpt-4o-mini.
Character classes and braces are not special.
Which one wins
An exact mapping always beats a pattern, whatever the priorities say. Between patterns the most specific wins, measured by how much of the pattern is literal text rather than wildcard, soopenai/gpt-4* beats openai/*.
Priority breaks ties by being evaluated first.
Cycles
A mapping that eventually points back at itself is rejected when you create it, along with a duplicate source name.Limits
Mappings are cached for about a minute.