mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 16:54:59 +00:00
initial
This commit is contained in:
parent
71f1779c8c
commit
97ed57a252
1 changed files with 56 additions and 0 deletions
56
aider/website/examples/auto-accept-architect.md
Normal file
56
aider/website/examples/auto-accept-architect.md
Normal file
|
@ -0,0 +1,56 @@
|
|||
---
|
||||
parent: Example chat transcripts
|
||||
nav_order: 1
|
||||
layout: minimal
|
||||
---
|
||||
|
||||
# Add --auto-accept-architect feature
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="/assets/asciinema/asciinema-player.css" />
|
||||
|
||||
<style>
|
||||
{% include recording.css %}
|
||||
</style>
|
||||
|
||||
<script src="/assets/asciinema/asciinema-player.min.js"></script>
|
||||
<script>
|
||||
const recording_url = "https://gist.githubusercontent.com/paul-gauthier/e7383fbc29c9bb343ee6fb7ee5d77e15/raw/c2194334085304bb1c6bb80814d791704d9719b6/707774.cast";
|
||||
{% include recording.js %}
|
||||
</script>
|
||||
|
||||
<div class="page-container">
|
||||
<div class="toast-container" id="toast-container"></div>
|
||||
|
||||
<div class="terminal-container">
|
||||
<div class="terminal-header">
|
||||
<div class="terminal-buttons">
|
||||
<div class="terminal-button terminal-close"></div>
|
||||
<div class="terminal-button terminal-minimize"></div>
|
||||
<div class="terminal-button terminal-expand"></div>
|
||||
</div>
|
||||
<div class="terminal-title">aider</div>
|
||||
</div>
|
||||
<div id="demo"></div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="keyboard-shortcuts">
|
||||
<kbd>Space</kbd> Play/pause —
|
||||
<kbd>f</kbd> Fullscreen —
|
||||
<kbd>←</kbd><kbd>→</kbd> ±5s
|
||||
</div>
|
||||
|
||||
## Commentary
|
||||
|
||||
- 0:01 We're going to add a new feature to automatically accept edits proposed by the architect model.
|
||||
- 0:11 First, add the new switch.
|
||||
- 0:40 Aider figured out that it should be passed to the Coder class.
|
||||
- 0:48 Now we need to implement the functionality.
|
||||
- 1:00 Let's do some manual testing.
|
||||
- 1:28 That worked. Let's make sure we can turn it off too.
|
||||
- 1:46 That worked too. Let's have aider update the HISTORY file to document the new feature.
|
||||
- 2:00 Quickly tidy up the changes to HISTORY.
|
||||
- 2:05 All done!
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue