Build API config (URL, model, key)

build_api_config(
  backend,
  api_key_env = NULL,
  model = NULL,
  skip_api_key_check = FALSE
)