Is it possible to change the apiHost via the CLI? We are executing promptfoo in a CI/CD pipeline which as it is promoted from different environments will require different apiHosts
m
michaelmichaelmichael
10/18/2024, 6:00 PM
Hi @beigesponge many providers allow you to override the base url with an env variable, for example export OPENAI_API_HOST=....
If you have a javascript / python provider I recommend using an env there, what type of provider are you using? If the override isn't available for it we can add it.
b
beigesponge
10/19/2024, 1:22 AM
@michaelmichaelmichael we're using Azure. Is it just as easy as setting the env to AZURE_API_HOST?