diff --git a/aider/website/assets/sample.aider.conf.yml b/aider/website/assets/sample.aider.conf.yml index d02fdf878..224ce2426 100644 --- a/aider/website/assets/sample.aider.conf.yml +++ b/aider/website/assets/sample.aider.conf.yml @@ -98,6 +98,9 @@ ## Enable caching of prompts (default: False) #cache-prompts: false +## Multiplier for map tokens when no files are specified (default: 2) +#map-multiplier-no-files: true + ## Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens. #max-chat-history-tokens: diff --git a/aider/website/assets/sample.env b/aider/website/assets/sample.env index 24da861bf..0c2e94b43 100644 --- a/aider/website/assets/sample.env +++ b/aider/website/assets/sample.env @@ -102,6 +102,9 @@ ## Enable caching of prompts (default: False) #AIDER_CACHE_PROMPTS=false +## Multiplier for map tokens when no files are specified (default: 2) +#AIDER_MAP_MULTIPLIER_NO_FILES=true + ## Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens. #AIDER_MAX_CHAT_HISTORY_TOKENS= diff --git a/aider/website/docs/config/aider_conf.md b/aider/website/docs/config/aider_conf.md index 9338ea782..6a87f28d8 100644 --- a/aider/website/docs/config/aider_conf.md +++ b/aider/website/docs/config/aider_conf.md @@ -137,6 +137,9 @@ cog.outl("```") ## Enable caching of prompts (default: False) #cache-prompts: false +## Multiplier for map tokens when no files are specified (default: 2) +#map-multiplier-no-files: true + ## Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens. #max-chat-history-tokens: diff --git a/aider/website/docs/config/dotenv.md b/aider/website/docs/config/dotenv.md index 4c3067ed1..7d810861b 100644 --- a/aider/website/docs/config/dotenv.md +++ b/aider/website/docs/config/dotenv.md @@ -144,6 +144,9 @@ cog.outl("```") ## Enable caching of prompts (default: False) #AIDER_CACHE_PROMPTS=false +## Multiplier for map tokens when no files are specified (default: 2) +#AIDER_MAP_MULTIPLIER_NO_FILES=true + ## Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens. #AIDER_MAX_CHAT_HISTORY_TOKENS= diff --git a/aider/website/docs/config/options.md b/aider/website/docs/config/options.md index 8ce622c84..1bcd50e24 100644 --- a/aider/website/docs/config/options.md +++ b/aider/website/docs/config/options.md @@ -36,8 +36,9 @@ usage: aider [-h] [--openai-api-key] [--anthropic-api-key] [--model] [--show-model-warnings | --no-show-model-warnings] [--map-tokens] [--map-refresh] [--cache-prompts | --no-cache-prompts] - [--max-chat-history-tokens] [--env-file] - [--input-history-file] [--chat-history-file] + [--map-multiplier-no-files] [--max-chat-history-tokens] + [--env-file] [--input-history-file] + [--chat-history-file] [--restore-chat-history | --no-restore-chat-history] [--llm-history-file] [--dark-mode] [--light-mode] [--pretty | --no-pretty] [--stream | --no-stream] @@ -204,6 +205,11 @@ Aliases: - `--cache-prompts` - `--no-cache-prompts` +### `--map-multiplier-no-files VALUE` +Multiplier for map tokens when no files are specified (default: 2) +Default: 2 +Environment variable: `AIDER_MAP_MULTIPLIER_NO_FILES` + ### `--max-chat-history-tokens VALUE` Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens. Environment variable: `AIDER_MAX_CHAT_HISTORY_TOKENS`