mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
refactor: Simplify model completion parameters and remove extra configuration
This commit is contained in:
parent
354630770b
commit
30d56e1af0
1 changed files with 1 additions and 2 deletions
|
@ -571,8 +571,7 @@ class Model(ModelSettings):
|
|||
"messages": messages,
|
||||
"functions": None,
|
||||
"stream": False,
|
||||
"temperature": None if not self.use_temperature else 0,
|
||||
"extra_params": self.extra_params,
|
||||
"temperature": 0,
|
||||
}
|
||||
_hash, response = self.send_completion(**kwargs)
|
||||
if not response or not hasattr(response, "choices") or not response.choices:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue