mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
copy
This commit is contained in:
parent
a2128e51a1
commit
9b4211fd85
4 changed files with 7 additions and 4 deletions
|
@ -864,7 +864,7 @@ class Commands:
|
|||
return self._generic_chat_command(args, "ask")
|
||||
|
||||
def cmd_code(self, args):
|
||||
"Ask for changes to your code using the best edit format"
|
||||
"Ask for changes to your code"
|
||||
return self._generic_chat_command(args, self.coder.main_model.edit_format)
|
||||
|
||||
def _generic_chat_command(self, args, edit_format):
|
||||
|
|
|
@ -165,6 +165,9 @@ Aliases:
|
|||
### `--edit-format EDIT_FORMAT`
|
||||
Specify what edit format the LLM should use (default depends on model)
|
||||
Environment variable: `AIDER_EDIT_FORMAT`
|
||||
Aliases:
|
||||
- `--edit-format EDIT_FORMAT`
|
||||
- `--chat-mode EDIT_FORMAT`
|
||||
|
||||
### `--weak-model WEAK_MODEL`
|
||||
Specify the model to use for commit messages and chat history summarization (default depends on --model)
|
||||
|
|
|
@ -19,6 +19,7 @@ cog.out(get_help_md())
|
|||
| **/chat-mode** | Switch to a new chat mode |
|
||||
| **/clear** | Clear the chat history |
|
||||
| **/clipboard** | Add image/text from the clipboard to the chat (optionally provide a name for the image) |
|
||||
| **/code** | Ask for changes to your code |
|
||||
| **/commit** | Commit edits to the repo made outside the chat (commit message optional) |
|
||||
| **/diff** | Display the diff of changes since the last message |
|
||||
| **/drop** | Remove files from the chat session to free up context space |
|
||||
|
|
|
@ -13,7 +13,7 @@ Aider has 3 different chat modes:
|
|||
- `help` - Aider will answer questions about using aider, configuring, troubleshooting, etc.
|
||||
|
||||
By default, aider starts in "code" mode. As you are talking, you can
|
||||
send messages in other modes using `/code`, `/ask`, and `/help` commands:
|
||||
send individual messages in a specific mode using `/code`, `/ask`, and `/help` commands:
|
||||
|
||||
<div class="chat-transcript" markdown="1">
|
||||
|
||||
|
@ -53,7 +53,7 @@ This function uses recursion to calculate the factorial. It's been added to your
|
|||
</div>
|
||||
|
||||
Using `/code`, `/ask`, and `/help` applies just to that particular message.
|
||||
Your next message will go back to code mode.
|
||||
Your next message will go back to the active mode (usually "code" mode by default).
|
||||
|
||||
You can switch between the modes in a sticky way
|
||||
with the `/chat-mode <mode>` command:
|
||||
|
@ -65,4 +65,3 @@ with the `/chat-mode <mode>` command:
|
|||
```
|
||||
|
||||
Or you can launch aider in one of the modes with the `--chat-mode <mode>` switch.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue