feat: Add generic rule for qwen3 235b models with diff and repomap

This commit is contained in:
Paul Gauthier (aider) 2025-05-08 07:49:33 -07:00
parent 4a14aeb7d9
commit 90b5f897f9

View file

@ -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