From 4e718fa8e16526c8dd2cb22e468d84016cb408ff Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 26 Aug 2024 16:31:46 -0700 Subject: [PATCH] copy --- aider/website/assets/sample.aider.conf.yml | 3 +++ aider/website/assets/sample.env | 3 +++ aider/website/docs/config/aider_conf.md | 3 +++ aider/website/docs/config/dotenv.md | 3 +++ aider/website/docs/config/options.md | 11 ++++++++--- 5 files changed, 20 insertions(+), 3 deletions(-) diff --git a/aider/website/assets/sample.aider.conf.yml b/aider/website/assets/sample.aider.conf.yml index 474490d72..e64eec2af 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 +## Number of pings to warm up the cache (default: 0) +#cache-warming-pings: false + ## Multiplier for map tokens when no files are specified (default: 2) #map-multiplier-no-files: true diff --git a/aider/website/assets/sample.env b/aider/website/assets/sample.env index e67d4b8a2..a0a9a9842 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 +## Number of pings to warm up the cache (default: 0) +#AIDER_CACHE_WARMING_PINGS=false + ## Multiplier for map tokens when no files are specified (default: 2) #AIDER_MAP_MULTIPLIER_NO_FILES=true diff --git a/aider/website/docs/config/aider_conf.md b/aider/website/docs/config/aider_conf.md index 348943a2a..07267ca02 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 +## Number of pings to warm up the cache (default: 0) +#cache-warming-pings: false + ## Multiplier for map tokens when no files are specified (default: 2) #map-multiplier-no-files: true diff --git a/aider/website/docs/config/dotenv.md b/aider/website/docs/config/dotenv.md index 62e53cceb..f8fcf29f2 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 +## Number of pings to warm up the cache (default: 0) +#AIDER_CACHE_WARMING_PINGS=false + ## Multiplier for map tokens when no files are specified (default: 2) #AIDER_MAP_MULTIPLIER_NO_FILES=true diff --git a/aider/website/docs/config/options.md b/aider/website/docs/config/options.md index 550bd8fef..001e97f4b 100644 --- a/aider/website/docs/config/options.md +++ b/aider/website/docs/config/options.md @@ -36,9 +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] - [--map-multiplier-no-files] [--max-chat-history-tokens] - [--env-file] [--input-history-file] - [--chat-history-file] + [--cache-warming-pings] [--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] @@ -205,6 +205,11 @@ Aliases: - `--cache-prompts` - `--no-cache-prompts` +### `--cache-warming-pings VALUE` +Number of pings to warm up the cache (default: 0) +Default: 0 +Environment variable: `AIDER_CACHE_WARMING_PINGS` + ### `--map-multiplier-no-files VALUE` Multiplier for map tokens when no files are specified (default: 2) Default: 2