mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
fix: Update Qwen 2.5 Coder 32b model configuration condition
This commit is contained in:
parent
69f4d5fca7
commit
71d85d2771
1 changed files with 6 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue