From d6b612a4a3d48f2b1541cb47adbe1d4e68c0d480 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Sat, 4 Jan 2025 06:18:40 -0800 Subject: [PATCH] style: Break long comment line to comply with flake8 E501 --- aider/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/models.py b/aider/models.py index 4d46885af..2ced2dd3c 100644 --- a/aider/models.py +++ b/aider/models.py @@ -920,7 +920,8 @@ class Model(ModelSettings): self.keys_in_environment = res.get("keys_in_environment") max_input_tokens = self.info.get("max_input_tokens") or 0 - # Calculate max_chat_history_tokens as 1/16th of max_input_tokens, with minimum 1k and maximum 4k + # Calculate max_chat_history_tokens as 1/16th of max_input_tokens, + # with minimum 1k and maximum 4k self.max_chat_history_tokens = min(max(max_input_tokens // 16, 1024), 4096) self.configure_model_settings(model)