From 71d85d2771e4d2a0f11d5c92da6ed7d9acc5ad8f Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 13 Nov 2024 13:40:35 -0800 Subject: [PATCH] fix: Update Qwen 2.5 Coder 32b model configuration condition --- aider/models.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/aider/models.py b/aider/models.py index 86cd7594e..57d5599c6 100644 --- a/aider/models.py +++ b/aider/models.py @@ -880,7 +880,12 @@ class Model(ModelSettings): self.use_temperature = False self.streaming = False - if "qwen" in model and "coder" in model and ("2.5" in model or "2-5" in model): + if ( + "qwen" in model + and "coder" in model + and ("2.5" in model or "2-5" in model) + and "32b" in model + ): "openrouter/qwen/qwen-2.5-coder-32b-instruct", self.edit_format = "diff" self.editor_edit_format = "editor-diff"