mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
refactor: Replace extra_params
with extra_headers
in cache warming request
This commit is contained in:
parent
bb740f3004
commit
22c60cad1a
1 changed files with 1 additions and 1 deletions
|
@ -1077,7 +1077,7 @@ class Coder:
|
|||
messages=self.cache_warming_chunks.cacheable_messages(),
|
||||
stream=False,
|
||||
max_tokens=1,
|
||||
extra_params=self.main_model.extra_params,
|
||||
extra_headers=self.main_model.extra_headers,
|
||||
)
|
||||
except Exception as err:
|
||||
self.io.tool_warning(f"Cache warming error: {str(err)}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue