mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +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,
|
"messages": messages,
|
||||||
"functions": None,
|
"functions": None,
|
||||||
"stream": False,
|
"stream": False,
|
||||||
"temperature": None if not self.use_temperature else 0,
|
"temperature": 0,
|
||||||
"extra_params": self.extra_params,
|
|
||||||
}
|
}
|
||||||
_hash, response = self.send_completion(**kwargs)
|
_hash, response = self.send_completion(**kwargs)
|
||||||
if not response or not hasattr(response, "choices") or not response.choices:
|
if not response or not hasattr(response, "choices") or not response.choices:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue