ai.events.ModelKey
Who answered and billed: the client's provider id (`"anthropic"`, `"openrouter"`, ...) and the model the response reported, which can be more specific than the one requested (a dated snapshot, the model a router chose). Falls back to the requested model when the response names none; null for a call no response answered.
Reference version
Signature
class ai.events.ModelKeyWho answered and billed: the client's provider id ("anthropic",
"openrouter", ...) and the model the response reported, which can be
more specific than the one requested (a dated snapshot, the model a router
chose). Falls back to the requested model when the response names none;
null for a call no response answered.
Source:<builtin>/ai/ns_events/events.bamlbytes 3770–3830
Fields
provider
stringmodel
string | null