diff --git a/aider/models.py b/aider/models.py index 66ce2df0d..0bca766c6 100644 --- a/aider/models.py +++ b/aider/models.py @@ -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