mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
refactor: Modify cmd_web to add scraped content to cur_messages as assistant reply
This commit is contained in:
parent
9dd7b795ca
commit
b3d13e44b2
1 changed files with 2 additions and 1 deletions
|
@ -162,7 +162,8 @@ class Commands:
|
|||
|
||||
self.io.tool_output("... done.")
|
||||
|
||||
return content
|
||||
# Add the content to cur_messages as a faux assistant reply
|
||||
self.coder.cur_messages.append(dict(role="assistant", content=content))
|
||||
|
||||
def is_command(self, inp):
|
||||
return inp[0] in "/!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue