wip: Added notes to diffs about user adding main.py file and interrupting response.

This commit is contained in:
Paul Gauthier 2023-05-13 10:11:38 -07:00
parent 0110f86c7f
commit fb319fe4d3

View file

@ -104,7 +104,7 @@ _Applied edit to tests/test_main.py_
_Commit c177e29 aider: Replaced usage of /dev/null with prompt_toolkit's input mocking functions in tests._
---
> The user adds the main.py file to the chat. Also, the user made a small edit with their editor, outside the chat, and added a missing "import sys". Aider notices and helps commit this change.
> Note: The user adds the main.py file to the chat. Also, the user made a small edit with their editor, outside the chat, and added a missing "import sys". Aider notices and helps commit this change.
#### > /add aider/main.py
@ -241,7 +241,7 @@ First, import the necessary classes and functions from `prompt_tool
_^C KeyboardInterrupt_
> The user interrupted the response, since it wasn't providing a useful solution
> Note: The user interrupted the response, since it wasn't providing a useful solution
---
#### > class prompt_toolkit.shortcuts.PromptSession(message: AnyFormattedText = '', *, multiline: FilterOrBool = False, wrap_lines: FilterOrBool = True, is_password: FilterOrBool = False, vi_mode: bool = False, editing_mode: EditingMode = <EditingMode.EMACS: 'EMACS'>, complete_while_typing: FilterOrBool = True, validate_while_typing: FilterOrBool = True, enable_history_search: FilterOrBool = False, search_ignore_case: FilterOrBool = False, lexer: Lexer | None = None, enable_system_prompt: FilterOrBool = False, enable_suspend: FilterOrBool = False, enable_open_in_editor: FilterOrBool = False, validator: Validator | None = None, completer: Completer | None = None, complete_in_thread: bool = False, reserve_space_for_menu: int = 8, complete_style: CompleteStyle = <CompleteStyle.COLUMN: 'COLUMN'>, auto_suggest: AutoSuggest | None = None, style: BaseStyle | None = None, style_transformation: StyleTransformation | None = None, swap_light_and_dark_colors: FilterOrBool = False, color_depth: ColorDepth | None = None, cursor: AnyCursorShapeConfig = None, include_default_pygments_style: FilterOrBool = True, history: History | None = None, clipboard: Clipboard | None = None, prompt_continuation: PromptContinuationText | None = None, rprompt: AnyFormattedText = None, bottom_toolbar: AnyFormattedText = None, mouse_support: FilterOrBool = False, input_processors: list[Processor] | None = None, placeholder: AnyFormattedText | None = None, key_bindings: KeyBindingsBase | None = None, erase_when_done: bool = False, tempfile_suffix: str | Callable[[], str] | None = '.txt', tempfile: str | Callable[[], str] | None = None, refresh_interval: float = 0, input: Input | None = None, output: Output | None = None)