mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
copy
This commit is contained in:
parent
b4d6a2be26
commit
f5c8a59570
1 changed files with 5 additions and 6 deletions
|
@ -5,7 +5,10 @@ This is a chat transcript of a fairly complex code change.
|
|||
|
||||
The user is trying to update tests to use an input mock provided by prompt_toolkit. This requires changes to multiple source files.
|
||||
|
||||
Aider's initial changes don't work, and the user provides error messages and doc snippets to collaboratively solve the problem.
|
||||
Some things to notice:
|
||||
- The initial changes from `aider` don't work, so the user provides error messages and doc snippets to collaboratively debug and solve the problem.
|
||||
- The user edits a file outside the chat using their editor. `aider` notices these out-of-band changes and offers to commit them.
|
||||
- At one point the user hits `^C` to interrupt the GPT-4 response, since it's not a useful response. The user gives clarifications and gets a better result on the next reply.
|
||||
|
||||
## Chat transcript
|
||||
|
||||
|
@ -106,9 +109,6 @@ These changes will replace the usage of `/dev/null` with `prompt_toolkit`'s inpu
|
|||
> Commit c177e29 aider: Replaced usage of /dev/null with prompt_toolkit's input mocking functions in tests.
|
||||
|
||||
---
|
||||
> 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
|
||||
|
||||
> Git repo has uncommitted changes.
|
||||
> Suggested commit message:
|
||||
|
@ -116,6 +116,7 @@ Added import statement for sys module in test_main.py.
|
|||
> Commit before the chat proceeds [y/n/commit message]? Added import statement for sys module in test_main.py.
|
||||
> Commit 6724fcd Added import statement for sys module in test_main.py.
|
||||
|
||||
#### > /add aider/main.py
|
||||
|
||||
> Added aider/main.py to the chat
|
||||
|
||||
|
@ -243,8 +244,6 @@ First, import the necessary classes and functions from `prompt_tool
|
|||
|
||||
> ^C KeyboardInterrupt_
|
||||
|
||||
> 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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue