is there any support for client aliases? eg if i want to switch a bunch of my prompts from using gpt5-mini to gemini-flash, i use a
client smallLLM
in the prompts and i can point it to different clients in the clients.baml file?
j
jeremy.london
01/28/2026, 2:45 PM
Client registry is what you can use to do this best. You can use the client registry to “override” an existing client as well.. or even setup a new one and make that the default
I do this to allow at runtime a configurable client
Where it gets tricky is if you are adding addition parameters such as temperature or things like that and the client doesn’t support those
v
Vaibhav (BAML 🐑)
01/28/2026, 4:49 PM
Yep! You can just make a client called smallLLM and constantly change its definition for how. Sadly we don’t have aliases atm