From 3c87e3670c61156af4aec7476a9c0a19f1af910c Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Tue, 24 Sep 2024 14:05:49 -0700 Subject: [PATCH] copy --- aider/website/assets/sample.aider.conf.yml | 12 +++++ aider/website/assets/sample.env | 4 +- .../website/docs/config/adv-model-settings.md | 53 +++++++++++++++++++ aider/website/docs/config/aider_conf.md | 12 +++++ aider/website/docs/config/dotenv.md | 12 +++++ aider/website/docs/config/options.md | 25 ++++++++- 6 files changed, 115 insertions(+), 3 deletions(-) diff --git a/aider/website/assets/sample.aider.conf.yml b/aider/website/assets/sample.aider.conf.yml index ccee5d16d..5c3954326 100644 --- a/aider/website/assets/sample.aider.conf.yml +++ b/aider/website/assets/sample.aider.conf.yml @@ -161,6 +161,18 @@ ## Set the color for assistant output (default: #0088ff) #assistant-output-color: #0088ff +## Set the color for the completion menu (default: terminal's default text color) +#completion-menu-color: default + +## Set the background color for the completion menu (default: terminal's default background color) +#completion-menu-bg-color: default + +## Set the color for the current item in the completion menu (default: terminal's default background color) +#completion-menu-current-color: default + +## Set the background color for the current item in the completion menu (default: terminal's default text color) +#completion-menu-current-bg-color: default + ## Set the markdown code theme (default: default, other options include monokai, solarized-dark, solarized-light) #code-theme: default diff --git a/aider/website/assets/sample.env b/aider/website/assets/sample.env index d963eec32..963c64b2d 100644 --- a/aider/website/assets/sample.env +++ b/aider/website/assets/sample.env @@ -165,13 +165,13 @@ ## Set the color for assistant output (default: #0088ff) #AIDER_ASSISTANT_OUTPUT_COLOR=#0088ff -## Set the foreground color for the completion menu (default: terminal's default text color) +## Set the color for the completion menu (default: terminal's default text color) #AIDER_COMPLETION_MENU_COLOR=default ## Set the background color for the completion menu (default: terminal's default background color) #AIDER_COMPLETION_MENU_BG_COLOR=default -## Set the foreground color for the current item in the completion menu (default: terminal's default background color) +## Set the color for the current item in the completion menu (default: terminal's default background color) #AIDER_COMPLETION_MENU_CURRENT_COLOR=default ## Set the background color for the current item in the completion menu (default: terminal's default text color) diff --git a/aider/website/docs/config/adv-model-settings.md b/aider/website/docs/config/adv-model-settings.md index 49e514152..a69569b75 100644 --- a/aider/website/docs/config/adv-model-settings.md +++ b/aider/website/docs/config/adv-model-settings.md @@ -86,6 +86,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -102,6 +103,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -118,6 +120,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -134,6 +137,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -150,6 +154,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -166,6 +171,7 @@ cog.out("```\n") caches_by_default: false edit_format: udiff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -182,6 +188,7 @@ cog.out("```\n") caches_by_default: false edit_format: udiff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -198,6 +205,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -214,6 +222,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -230,6 +239,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -246,6 +256,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -262,6 +273,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -278,6 +290,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -294,6 +307,7 @@ cog.out("```\n") caches_by_default: false edit_format: udiff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -310,6 +324,7 @@ cog.out("```\n") caches_by_default: false edit_format: udiff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -326,6 +341,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -342,6 +358,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -358,6 +375,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -374,6 +392,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -390,6 +409,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -406,6 +426,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -422,6 +443,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -438,6 +460,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: anthropic-beta: prompt-caching-2024-07-31 lazy: false @@ -455,6 +478,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: anthropic-beta: prompt-caching-2024-07-31 lazy: false @@ -472,6 +496,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: true + extra_body: null extra_headers: anthropic-beta: prompt-caching-2024-07-31 lazy: false @@ -489,6 +514,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: true + extra_body: null extra_headers: anthropic-beta: prompt-caching-2024-07-31 lazy: false @@ -506,6 +532,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: 8192 @@ -522,6 +549,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: 8192 @@ -538,6 +566,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -554,6 +583,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -570,6 +600,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -586,6 +617,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -602,6 +634,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -618,6 +651,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -634,6 +668,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -650,6 +685,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -666,6 +702,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -682,6 +719,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff-fenced examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -698,6 +736,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff-fenced examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -714,6 +753,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff-fenced examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -730,6 +770,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -746,6 +787,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: 8192 @@ -762,6 +804,7 @@ cog.out("```\n") caches_by_default: true edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: 8192 @@ -778,6 +821,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: 8192 @@ -794,6 +838,7 @@ cog.out("```\n") caches_by_default: true edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: 8192 @@ -810,6 +855,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: true + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -826,6 +872,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: true max_tokens: null @@ -842,6 +889,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -858,6 +906,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -874,6 +923,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -890,6 +940,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -906,6 +957,7 @@ cog.out("```\n") caches_by_default: false edit_format: whole examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null @@ -922,6 +974,7 @@ cog.out("```\n") caches_by_default: false edit_format: diff examples_as_sys_msg: false + extra_body: null extra_headers: null lazy: false max_tokens: null diff --git a/aider/website/docs/config/aider_conf.md b/aider/website/docs/config/aider_conf.md index 711e8fc36..c4693bd3f 100644 --- a/aider/website/docs/config/aider_conf.md +++ b/aider/website/docs/config/aider_conf.md @@ -209,6 +209,18 @@ cog.outl("```") ## Set the color for assistant output (default: #0088ff) #assistant-output-color: #0088ff +## Set the color for the completion menu (default: terminal's default text color) +#completion-menu-color: default + +## Set the background color for the completion menu (default: terminal's default background color) +#completion-menu-bg-color: default + +## Set the color for the current item in the completion menu (default: terminal's default background color) +#completion-menu-current-color: default + +## Set the background color for the current item in the completion menu (default: terminal's default text color) +#completion-menu-current-bg-color: default + ## Set the markdown code theme (default: default, other options include monokai, solarized-dark, solarized-light) #code-theme: default diff --git a/aider/website/docs/config/dotenv.md b/aider/website/docs/config/dotenv.md index 10805d923..d3120540e 100644 --- a/aider/website/docs/config/dotenv.md +++ b/aider/website/docs/config/dotenv.md @@ -207,6 +207,18 @@ cog.outl("```") ## Set the color for assistant output (default: #0088ff) #AIDER_ASSISTANT_OUTPUT_COLOR=#0088ff +## Set the color for the completion menu (default: terminal's default text color) +#AIDER_COMPLETION_MENU_COLOR=default + +## Set the background color for the completion menu (default: terminal's default background color) +#AIDER_COMPLETION_MENU_BG_COLOR=default + +## Set the color for the current item in the completion menu (default: terminal's default background color) +#AIDER_COMPLETION_MENU_CURRENT_COLOR=default + +## Set the background color for the current item in the completion menu (default: terminal's default text color) +#AIDER_COMPLETION_MENU_CURRENT_BG_COLOR=default + ## Set the markdown code theme (default: default, other options include monokai, solarized-dark, solarized-light) #AIDER_CODE_THEME=default diff --git a/aider/website/docs/config/options.md b/aider/website/docs/config/options.md index 5d10eaa94..e14450d95 100644 --- a/aider/website/docs/config/options.md +++ b/aider/website/docs/config/options.md @@ -45,7 +45,10 @@ usage: aider [-h] [--openai-api-key] [--anthropic-api-key] [--model] [--pretty | --no-pretty] [--stream | --no-stream] [--user-input-color] [--tool-output-color] [--tool-error-color] [--tool-warning-color] - [--assistant-output-color] [--code-theme] + [--assistant-output-color] [--completion-menu-color] + [--completion-menu-bg-color] + [--completion-menu-current-color] + [--completion-menu-current-bg-color] [--code-theme] [--show-diffs] [--git | --no-git] [--gitignore | --no-gitignore] [--aiderignore] [--subtree-only] [--auto-commits | --no-auto-commits] @@ -312,6 +315,26 @@ Set the color for assistant output (default: #0088ff) Default: #0088ff Environment variable: `AIDER_ASSISTANT_OUTPUT_COLOR` +### `--completion-menu-color COLOR` +Set the color for the completion menu (default: terminal's default text color) +Default: default +Environment variable: `AIDER_COMPLETION_MENU_COLOR` + +### `--completion-menu-bg-color COLOR` +Set the background color for the completion menu (default: terminal's default background color) +Default: default +Environment variable: `AIDER_COMPLETION_MENU_BG_COLOR` + +### `--completion-menu-current-color COLOR` +Set the color for the current item in the completion menu (default: terminal's default background color) +Default: default +Environment variable: `AIDER_COMPLETION_MENU_CURRENT_COLOR` + +### `--completion-menu-current-bg-color COLOR` +Set the background color for the current item in the completion menu (default: terminal's default text color) +Default: default +Environment variable: `AIDER_COMPLETION_MENU_CURRENT_BG_COLOR` + ### `--code-theme VALUE` Set the markdown code theme (default: default, other options include monokai, solarized-dark, solarized-light) Default: default