mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
fix: Add coder reference to commands
This commit is contained in:
parent
b0e6373c77
commit
0ea2b8bcfe
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,6 @@ from rich.console import Console, Text
|
|||
from rich.markdown import Markdown
|
||||
|
||||
from aider import __version__, models, prompts, urls, utils
|
||||
from aider.coders import Coder
|
||||
from aider.commands import Commands
|
||||
from aider.history import ChatSummary
|
||||
from aider.io import InputOutput
|
||||
|
@ -269,6 +268,7 @@ class Coder:
|
|||
self.show_diffs = show_diffs
|
||||
|
||||
self.commands = commands or Commands(self.io, self)
|
||||
self.commands.coder = self
|
||||
|
||||
self.repo = repo
|
||||
if use_git and self.repo is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue