fix: Update Qwen 2.5 Coder 32b model configuration condition

This commit is contained in:
Paul Gauthier 2024-11-13 13:40:35 -08:00 committed by Paul Gauthier (aider)
parent 69f4d5fca7
commit 71d85d2771

View file

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