From 79170839ee2aed35aad702a8d4b96ace3671f911 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 18 Apr 2024 09:24:18 -0700 Subject: [PATCH] noop --- aider/main.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/main.py b/aider/main.py index bdf5255af..3e0e8ec65 100644 --- a/aider/main.py +++ b/aider/main.py @@ -568,9 +568,8 @@ def main(argv=None, input=None, output=None, force_git_root=None): if args.openai_organization_id: os.environ["OPENAI_ORGANIZATION"] = args.openai_organization_id - res = litellm.validate_environment(args.model) - # Is the model known and are all needed keys/params available? + res = litellm.validate_environment(args.model) missing_keys = res.get("missing_keys") if missing_keys: io.tool_error(f"To use model {args.model}, please set these environment variables:")