mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 22:34:59 +00:00
default Ollama num_ctx to 8k
This commit is contained in:
parent
92579243c5
commit
bb78e2f57f
1 changed files with 2 additions and 2 deletions
|
@ -938,8 +938,8 @@ class Model(ModelSettings):
|
|||
self.edit_format = "diff"
|
||||
self.editor_edit_format = "editor-diff"
|
||||
self.use_repo_map = True
|
||||
# if "ollama" in model:
|
||||
# self.extra_params = dict(num_ctx = 64*1024)
|
||||
if "ollama" in model:
|
||||
self.extra_params = dict(num_ctx=8 * 1024)
|
||||
return # <--
|
||||
|
||||
# use the defaults
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue