feat: add tool_warning_color argument and update color modes

This commit is contained in:
Paul Gauthier (aider) 2024-09-03 12:42:25 -07:00
parent b088627fcc
commit 84b5433ace
2 changed files with 14 additions and 1 deletions

View file

@ -368,12 +368,14 @@ def main(argv=None, input=None, output=None, force_git_root=None, return_coder=F
if args.dark_mode:
args.user_input_color = "#32FF32"
args.tool_error_color = "#FF3333"
args.tool_warning_color = "#FFFF00"
args.assistant_output_color = "#00FFFF"
args.code_theme = "monokai"
if args.light_mode:
args.user_input_color = "green"
args.tool_error_color = "red"
args.tool_warning_color = "#FFA500"
args.assistant_output_color = "blue"
args.code_theme = "default"