From 7556db79757a164773c8a61d220ec76c822be201 Mon Sep 17 00:00:00 2001 From: matdev83 <211248003+matdev83@users.noreply.github.com> Date: Mon, 13 Oct 2025 00:39:25 +0200 Subject: [PATCH] Fix OpenAI connector health check configuration --- src/connectors/openai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connectors/openai.py b/src/connectors/openai.py index e9414fe81..8a6f09f10 100644 --- a/src/connectors/openai.py +++ b/src/connectors/openai.py @@ -71,8 +71,8 @@ def __init__( "DISABLE_HEALTH_CHECKS", "false" ).lower() in ("true", "1", "yes") - disable_health_checks_config = self.config.get( - "session.dangerous_command_prevention_enabled", False + disable_health_checks_config = bool( + getattr(self.config, "disable_health_checks", False) ) # Enable health checks only when neither config nor env disable them