This commit is contained in:
Paul Gauthier 2024-08-17 08:48:50 -07:00
parent 36663cf04e
commit 5099a5c24b
6 changed files with 41 additions and 1 deletions

View file

@ -92,6 +92,12 @@
## Max number of tokens to use for repo map, use 0 to disable (default: 1024)
#map-tokens:
## Control when the repo map is refreshed (default: auto)
#map-refresh: auto
## Enable caching of prompts (forces map_refresh='files') (default: False)
#cache-prompts: false
## Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens.
#max-chat-history-tokens:

View file

@ -96,6 +96,12 @@
## Max number of tokens to use for repo map, use 0 to disable (default: 1024)
#AIDER_MAP_TOKENS=
## Control when the repo map is refreshed (default: auto)
#AIDER_MAP_REFRESH=auto
## Enable caching of prompts (forces map_refresh='files') (default: False)
#AIDER_CACHE_PROMPTS=false
## 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=

View file

@ -131,6 +131,12 @@ cog.outl("```")
## Max number of tokens to use for repo map, use 0 to disable (default: 1024)
#map-tokens:
## Control when the repo map is refreshed (default: auto)
#map-refresh: auto
## Enable caching of prompts (forces map_refresh='files') (default: False)
#cache-prompts: false
## Maximum number of tokens to use for chat history. If not specified, uses the model's max_chat_history_tokens.
#max-chat-history-tokens:

View file

@ -138,6 +138,12 @@ cog.outl("```")
## Max number of tokens to use for repo map, use 0 to disable (default: 1024)
#AIDER_MAP_TOKENS=
## Control when the repo map is refreshed (default: auto)
#AIDER_MAP_REFRESH=auto
## Enable caching of prompts (forces map_refresh='files') (default: False)
#AIDER_CACHE_PROMPTS=false
## 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=

View file

@ -34,7 +34,9 @@ usage: aider [-h] [--openai-api-key] [--anthropic-api-key] [--model]
[--verify-ssl | --no-verify-ssl] [--edit-format]
[--weak-model]
[--show-model-warnings | --no-show-model-warnings]
[--map-tokens] [--max-chat-history-tokens] [--env-file]
[--map-tokens] [--map-refresh]
[--cache-prompts | --no-cache-prompts]
[--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]
@ -189,6 +191,19 @@ Aliases:
Max number of tokens to use for repo map, use 0 to disable (default: 1024)
Environment variable: `AIDER_MAP_TOKENS`
### `--map-refresh VALUE`
Control when the repo map is refreshed (default: auto)
Default: auto
Environment variable: `AIDER_MAP_REFRESH`
### `--cache-prompts`
Enable caching of prompts (forces map_refresh='files') (default: False)
Default: False
Environment variable: `AIDER_CACHE_PROMPTS`
Aliases:
- `--cache-prompts`
- `--no-cache-prompts`
### `--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`

View file

@ -29,6 +29,7 @@ cog.out(get_help_md())
| **/lint** | Lint and fix provided files or in-chat files if none provided |
| **/ls** | List all known files and indicate which are included in the chat session |
| **/map** | Print out the current repository map |
| **/map-refresh** | Force a refresh of the repository map and print it out |
| **/model** | Switch to a new LLM |
| **/models** | Search the list of available models |
| **/quit** | Exit the application |