From 470b8d0251497f549fff0971a36f9a3fea23d44b Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 10 Jun 2024 15:23:33 -0700 Subject: [PATCH] Show model warnings in normal color, not red/error --- aider/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/models.py b/aider/models.py index 1d51c10c7..5884ff31f 100644 --- a/aider/models.py +++ b/aider/models.py @@ -453,17 +453,17 @@ def sanity_check_model(io, model): io.tool_error(f"- {key}") elif not model.keys_in_environment: show = True - io.tool_error(f"Model {model}: Unknown which environment variables are required.") + io.tool_output(f"Model {model}: Unknown which environment variables are required.") if not model.info: show = True - io.tool_error( + io.tool_output( f"Model {model}: Unknown model, context window size and token costs unavailable." ) possible_matches = fuzzy_match_models(model.name) if possible_matches: - io.tool_error("Did you mean one of these?") + io.tool_output("Did you mean one of these?") for match in possible_matches: fq, m = match if fq == m: