fix var name

This commit is contained in:
Sumit Jaiswal 2025-06-04 20:49:13 +05:30
parent 61cd8540de
commit 04825e854c
No known key found for this signature in database
GPG key ID: A4604B39D64D6AEC
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ class WatsonXInferenceAdapter(Inference, ModelRegistryHelper):
HealthResponse: A dictionary containing the health status.
"""
try:
client_model = self._get_client(self._config.model_id)
client_model = self._get_client(self._config.health_check_model_id)
client_model.get_details()
return HealthResponse(status=HealthStatus.OK)
except Exception as ex: