# Add --auto-accept-architect feature

> See how a new command-line option is added to automatically accept edits proposed by the architect model, with implementation. Aider also updates the project's HISTORY file.

- 网址：https://funcoding.ai/agents/aider/recordings/auto-accept-architect/
- 来源：Aider 官方文档原文（英文），Apache-2.0 许可，同步于 2026-10-11
- 官方原文：https://aider.chat/docs/recordings/auto-accept-architect.html

---
<link rel="stylesheet" type="text/css" href="/assets/asciinema/asciinema-player.css" />

<div class="page-container">
  <div class="toast-container" id="toast-container"></div>

  <div class="macos-backdrop">
    <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>

<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, let's 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:42 That worked too. Let's have aider update the HISTORY file to document the new feature.
- 2:00 Let's quickly tidy up the changes to HISTORY.
- 2:05 All done!
