diff --git a/aider/commands.py b/aider/commands.py index e44b5bda5..8c02fe0bb 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1417,12 +1417,13 @@ class Commands: else: markdown += content + "\n\n" - markdown += """ + args = args or "" + markdown += f""" Just tell me how to edit the files to make the changes. Don't give me back entire files. Just show me the edits I need to make. - +{args} """ try: diff --git a/aider/website/docs/usage/copypaste.md b/aider/website/docs/usage/copypaste.md index 09585e320..c1864d507 100644 --- a/aider/website/docs/usage/copypaste.md +++ b/aider/website/docs/usage/copypaste.md @@ -54,13 +54,14 @@ that o1-preview is suggesting in the web chat. ### Copy aider's code context to your clipboard, paste into the web UI -The `/copy-context` command can be used in chat to copy aider's code context to your clipboard. +The `/copy-context ` command can be used in chat to copy aider's code context to your clipboard. It will include: - All the files which have been added to the chat via `/add`. - Any read only files which have been added via `/read`. - Aider's [repository map](https://aider.chat/docs/repomap.html) that brings in code context related to the above files from elsewhere in your git repo. - Some instructions to the LLM that ask it to output change instructions concisely. +- If you include ``, they will be copied too. You can paste the context into your browser, and start interacting with the LLM web chat to ask for code changes.