使用 aider 自动更新文档
在这个聊天记录中,用户要求根据代码中 main() 函数的最新版本自动更新使用文档。
$ aider ./README.md aider/main.py
已将 README.md 添加到聊天
已将 aider/main.py 添加到聊天
README.md
<<<<<<< ORIGINAL
- `--history-file HISTORY_FILE`: Specify the chat input history file (default: .aider.history). Override the default with the environment variable `AIDER_HISTORY_FILE`.
- `--model MODEL`: Specify the model to use for the main chat (default: gpt-4). Override the default with the environment variable `AIDER_MODEL`.
- `-3`: Use gpt-3.5-turbo model for the main chat (basically won't work). No environment variable override.
- `--no-pretty`: Disable pretty, colorized output. Override the default with the environment variable `AIDER_PRETTY` (default: 1 for enabled, 0 for disabled).
- `--show-diffs`: Show diffs when committing changes (default: False). Override the default with the environment variable `AIDER_SHOW_DIFFS` (default: 0 for False, 1 for True).
- `--no-auto-commits`: Disable auto commit of changes. Override the default with the environment variable `AIDER_AUTO_COMMITS` (default: 1 for enabled, 0 for disabled).
=======
- `--input-history-file INPUT_HISTORY_FILE`: 指定聊天输入历史记录文件(默认:.aider.input.history)。可通过环境变量 `AIDER_INPUT_HISTORY_FILE` 覆盖默认值。
- `--chat-history-file CHAT_HISTORY_FILE`: 指定聊天历史记录文件(默认:.aider.chat.history.md)。可通过环境变量 `AIDER_CHAT_HISTORY_FILE` 覆盖默认值。
- `--model MODEL`: 指定主聊天使用的模型(默认:gpt-4)。可通过环境变量 `AIDER_MODEL` 覆盖默认值。
- `-3`: 为主聊天使用 gpt-3.5-turbo 模型(基本上不起作用)。无环境变量覆盖选项。
- `--no-pretty`: 禁用美观的彩色输出。可通过环境变量 `AIDER_PRETTY` 覆盖默认值(默认:1 表示启用,0 表示禁用)。
- `--apply FILE`: 从给定文件应用更改而非运行聊天(调试用)。
- `--no-auto-commits`: 禁用自动提交更改。可通过环境变量 `AIDER_AUTO_COMMITS` 覆盖默认值(默认:1 表示启用,0 表示禁用)。
- `--show-diffs`: 提交更改时显示差异(默认:False)。可通过环境变量 `AIDER_SHOW_DIFFS` 覆盖默认值(默认:0 表示 False,1 表示 True)。
- `--yes`: 对所有确认始终回答 yes(默认:False)。
>>>>>>> UPDATED