From 1251285ac8a6c386d44bb7e6bc92a58c7ac81de6 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 1 Jul 2023 06:59:18 -0700 Subject: [PATCH] cleaner logging, avoid func formats with old models --- aider/coders/base_coder.py | 4 +--- benchmark/rungrid.py | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/aider/coders/base_coder.py b/aider/coders/base_coder.py index 77bfed34b..9f8e1b770 100755 --- a/aider/coders/base_coder.py +++ b/aider/coders/base_coder.py @@ -610,9 +610,7 @@ class Coder: # TODO: push this into subclasses args = self.parse_partial_args() if args: - explanation = args.get("explanation") - if explanation: - self.io.ai_output(json.dumps(args, indent=4)) + self.io.ai_output(json.dumps(args, indent=4)) return interrupted diff --git a/benchmark/rungrid.py b/benchmark/rungrid.py index 4534345a1..420ba1c0a 100755 --- a/benchmark/rungrid.py +++ b/benchmark/rungrid.py @@ -22,6 +22,10 @@ def main(): for model in models: for edit_format in edit_formats: # dump(model, edit_format) + + if "-func" in edit_format and "-03" in model: + continue + dirname = f"rungrid-{model}-{edit_format}" cmd = [