diff --git a/aider/args.py b/aider/args.py index 5b94097a8..0807020ea 100644 --- a/aider/args.py +++ b/aider/args.py @@ -237,10 +237,8 @@ def get_parser(default_config_files, git_root): type=int, default=None, help=( - ( - "Soft limit on tokens for chat history, after which summarization begins." - " If unspecified, defaults to the model's max_chat_history_tokens." - ), + "Soft limit on tokens for chat history, after which summarization begins." + " If unspecified, defaults to the model's max_chat_history_tokens." ), ) # This is a duplicate of the argument in the preparser and is a no-op by this time of diff --git a/aider/website/assets/sample.env b/aider/website/assets/sample.env index f96fd9964..f69f75c0f 100644 --- a/aider/website/assets/sample.env +++ b/aider/website/assets/sample.env @@ -108,7 +108,7 @@ ## Only work with models that have meta-data available (default: True) #AIDER_SHOW_MODEL_WARNINGS=true -## Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens. +## ("Soft limit on tokens for chat history, after which summarization begins. If unspecified, defaults to the model's max_chat_history_tokens.",) #AIDER_MAX_CHAT_HISTORY_TOKENS= ## Specify the .env file to load (default: .env in git root) diff --git a/aider/website/docs/config/dotenv.md b/aider/website/docs/config/dotenv.md index 0da62a6bf..6541b2c20 100644 --- a/aider/website/docs/config/dotenv.md +++ b/aider/website/docs/config/dotenv.md @@ -150,7 +150,7 @@ cog.outl("```") ## Only work with models that have meta-data available (default: True) #AIDER_SHOW_MODEL_WARNINGS=true -## Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens. +## ("Soft limit on tokens for chat history, after which summarization begins. If unspecified, defaults to the model's max_chat_history_tokens.",) #AIDER_MAX_CHAT_HISTORY_TOKENS= ## Specify the .env file to load (default: .env in git root)