refactor: global codebase refactoring

This commit is contained in:
ITQ committed 2025-02-21 18:00:42 +03:00
1 parent a799c8ee51
commit f56687fbad
17 files changed
+89 -240

No files matched your search

@@ -16,8 +16,10 @@ class YandexAIHealthCheck(BaseHealthCheckBackend):
result = sdk.models.completions(
"yandexgpt-lite", model_version="latest"
).tokenize("ping")
if not result:
self.add_error("YandexAI API is unaccessible")
except YCloudMLError:
self.add_error("YandexAI API is unaccessible")