mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
fix: Replace extra_headers and extra_body with extra_params in Coder, ChatSummary, and GitRepo
This commit is contained in:
parent
c24e947b18
commit
810aeccf94
4 changed files with 4 additions and 7 deletions
|
@ -96,9 +96,8 @@ def simple_send_with_retries(model_name, messages, extra_params=None):
|
|||
"messages": messages,
|
||||
"functions": None,
|
||||
"stream": False,
|
||||
"extra_params": extra_params,
|
||||
}
|
||||
if extra_params is not None:
|
||||
kwargs["extra_params"] = extra_params
|
||||
|
||||
_hash, response = send_completion(**kwargs)
|
||||
return response.choices[0].message.content
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue