Validates params and builds client.
We override temperature to 1.0 for Gemini 3+ models if not explicitly set.
This is to prevent infinite loops and degraded performance that can occur with
temperature < 1.0 on these models.
validate_environment(
self,
) -> Self