From 90b5f897f984c8e40d6c52b34c192beb5c92df90 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 8 May 2025 07:49:33 -0700 Subject: [PATCH] feat: Add generic rule for qwen3 235b models with diff and repomap --- aider/models.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/aider/models.py b/aider/models.py index 992f1f728..cf0f832c7 100644 --- a/aider/models.py +++ b/aider/models.py @@ -518,6 +518,12 @@ class Model(ModelSettings): self.extra_params = dict(top_p=0.95) return # <-- + if "qwen3" in model and "235b" in model: + self.edit_format = "diff" + self.use_repo_map = True + return # <-- + + # use the defaults if self.edit_format == "diff": self.use_repo_map = True