mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-25 06:44: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.edit_format = "diff"
|
||||||
self.editor_edit_format = "editor-diff"
|
self.editor_edit_format = "editor-diff"
|
||||||
self.use_repo_map = True
|
self.use_repo_map = True
|
||||||
# if "ollama" in model:
|
if "ollama" in model:
|
||||||
# self.extra_params = dict(num_ctx = 64*1024)
|
self.extra_params = dict(num_ctx=8 * 1024)
|
||||||
return # <--
|
return # <--
|
||||||
|
|
||||||
# use the defaults
|
# use the defaults
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue