ai.clients.Selector
What a `client:` position accepts: an already-built client, a `"provider/model"` shorthand string, or a `baml.env.Ref` naming a variable that holds one. `ai.clients.resolve` turns any of them into a `ai.Client`.
Reference version
Signature
type ai.clients.Selector = ai.Client | string | baml.env.RefWhat a client: position accepts: an already-built client, a
"provider/model" shorthand string, or a baml.env.Ref naming a variable
that holds one. ai.clients.resolve turns any of them into a ai.Client.
Source:<builtin>/ai/ns_clients/clients.bamlbytes 764–816