From 10668f1b44eb4596bf85abb5c7f8a40c67c1d359 Mon Sep 17 00:00:00 2001 From: Mery-Sanz Date: Mon, 19 May 2025 13:44:53 +0200 Subject: [PATCH] add true lower --- src/cai/tools/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cai/tools/common.py b/src/cai/tools/common.py index 577f122f..dbad944a 100644 --- a/src/cai/tools/common.py +++ b/src/cai/tools/common.py @@ -1014,7 +1014,7 @@ def run_command(command, ctf=None, stdout=False, # pylint: disable=too-many-arg return _run_local(command, stdout, timeout, stream, call_id, tool_name, _get_workspace_dir(), args) # noqa E501 # --- CTF Execution --- - if ctf and os.getenv('CTF_INSIDE', True) == "True": + if ctf and os.getenv('CTF_INSIDE', True).lower() == "true": # If streaming is enabled and we have a call_id, show streaming UI for CTF too if stream: # Import the streaming utilities from util