From 85b1303460bec4a8ac186ed58cb56e04eae1b6ff Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 14 Dec 2024 09:50:26 -0800 Subject: [PATCH] fix: Remove always-true condition for Windows env var message --- aider/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/models.py b/aider/models.py index c8dcfdfbc..53e507795 100644 --- a/aider/models.py +++ b/aider/models.py @@ -1232,7 +1232,7 @@ def sanity_check_model(io, model): status = "Set" if value else "Not set" io.tool_output(f"- {key}: {status}") - if platform.system() == "Windows" or True: + if platform.system() == "Windows": io.tool_output( "If you just set these environment variables using `setx` you may need to restart" " your terminal or command prompt for the changes to take effect."