Commit graph

67 commits

Author SHA1 Message Date
Paul Gauthier
62abd9c202 copy 2023-05-13 11:58:06 -07:00
Paul Gauthier
d87b6f39c4 copy 2023-05-13 11:58:00 -07:00
Paul Gauthier
090ef0acd8 copy 2023-05-13 11:57:36 -07:00
Paul Gauthier
f69525e573 copy 2023-05-13 10:31:46 -07:00
Paul Gauthier
04565b9181 wip: Changed the help message for using gpt-3.5-turbo model and updated the example docs. 2023-05-13 10:31:21 -07:00
Paul Gauthier
024f45e52f aider: Updated command line arguments in main() and updated README.md to accurately describe them.
# Context:
USER: the cmd line args in main() have been updated. update the readme.
ASSISTANT: ```markdown
README.md
<<<<<<< ORIGINAL
    parser.add_argument(
        "--input-history-file",
        metavar="INPUT_HISTORY_FILE",
        default=os.environ.get(f"{env_prefix}INPUT_HISTORY_FILE", ".aider.input.history"),
        help=(
            "Specify the chat input history file (default: .a
^C KeyboardInterrupt
USER: the cmd line args in main() have been updated. update the readme to accurately describe them.
ASSISTANT: ```markdown
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`: Specify the chat input history file (default: .aider.input.history). Override the default with the environment variable `AIDER_INPUT_HISTORY_FILE`.
- `--chat-history-file CHAT_HISTORY_FILE`: Specify the chat history file (default: .aider.chat.history.md). Override the default with the environment variable `AIDER_CHAT_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).
- `--apply FILE`: Apply the changes from the given file instead of running the chat (debug).
- `--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).
- `--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).
- `--yes`: Always say yes to every confirmation (default: False).
>>>>>>> UPDATED
```
2023-05-13 10:23:41 -07:00
Paul Gauthier
43f045f24f copy 2023-05-13 10:18:53 -07:00
Paul Gauthier
2d6b7eb978 Changed the project name to "Aider". 2023-05-13 09:55:51 -07:00
Paul Gauthier
51abe3d24f aider: Changed the title to "aider" in lowercase.
# Context:
USER: change the title to "aider" in lowercase
ASSISTANT: ```markdown
README.md
<<<<<<< ORIGINAL
# Aider
=======
# aider
>>>>>>> UPDATED
```
2023-05-13 09:52:45 -07:00
Paul Gauthier
d6d6ce8d1f copy 2023-05-13 09:42:57 -07:00
Paul Gauthier
90e09a3f4e copy 2023-05-13 09:42:22 -07:00
Paul Gauthier
8aaa42e6ef aider: Added CSS exercise example to README files.
# Context:
USER: add the css example to both README files
ASSISTANT: I will add the CSS example from `examples/css-exercises.md` to both `README.md` and `examples/README.md` files.

```markdown
README.md
<<<<<<< ORIGINAL
* [**Semantic Search & Replace**](examples/semantic-search-replace.md): This example showcases aider's ability to perform semantic search and replace operations in code, dealing with various formatting and semantic differences in the function calls that it updates.
=======
* [**Semantic Search & Replace**](examples/semantic-search-replace.md): This example showcases aider's ability to perform semantic search and replace operations in code, dealing with various formatting and semantic differences in the function calls that it updates.
* [**CSS Exercise: Animation Dropdown Menu**](examples/css-exercises.md): This example demonstrates how to complete a CSS exercise involving adding animation to a dropdown menu, creating a bounce illusion when the dropdown expands close to its final end state.
>>>>>>> UPDATED
```

```markdown
examples/README.md
<<<<<<< ORIGINAL
* [**Semantic Search & Replace**](semantic-search-replace.md): This example showcases aider's ability to perform semantic search and replace operations in code, dealing with various formatting and semantic differences in the function calls that it updates.
=======
* [**Semantic Search & Replace**](semantic-search-replace.md): This example showcases aider's ability to perform semantic search and replace operations in code, dealing with various formatting and semantic differences in the function calls that it updates.
* [**CSS Exercise: Animation Dropdown Menu**](css-exercises.md): This example demonstrates how to complete a CSS exercise involving adding animation to a dropdown menu, creating a bounce illusion when the dropdown expands close to its final end state.
>>>>>>> UPDATED
```

These changes add the CSS exercise example to both `README.md` and `examples/README.md` files.
2023-05-13 09:08:06 -07:00
Paul Gauthier
e629f0c123 numbers to bullets 2023-05-13 08:56:52 -07:00
Paul Gauthier
490ee86637 wip: Updated file paths for example code in README. 2023-05-13 08:56:10 -07:00
Paul Gauthier
64516ed020 examples 2023-05-13 08:24:31 -07:00
Paul Gauthier
15ac06f4a1 Removed Aider examples from README.md. 2023-05-12 16:15:13 -07:00
Paul Gauthier
21bce20f42 aider: Added README.md file with descriptions and links to the two examples.
# Context:
USER: add a README.md that describes and links to the 2 examples
ASSISTANT: ```python
README.md
<<<<<<< ORIGINAL

=======
# Aider Examples

This repository contains two examples demonstrating the capabilities of Aider. Below is a brief description of each example and a link to their respective markdown files.

1. **Hello World Flask App**: This example demonstrates how to create a simple Flask app with various endpoints, such as adding two numbers and calculating the Fibonacci sequence. [View the example here](examples/hello-world-flask.md).

2. **Semantic Search & Replace**: This example showcases Aider's ability to perform semantic search and replace operations in code, dealing with various formatting and semantic differences in the calls that it updates. [View the example here](examples/semantic-search-replace.md).
>>>>>>> UPDATED
```

I've added a README.md file with descriptions and links to the two examples.
2023-05-12 16:14:41 -07:00
Paul Gauthier
a16f91eed1 aider: Added --no-auto-commits argument to README.md.
# Context:
USER: add the --no-auto-commit arg to readme
ASSISTANT: I will add the `--no-auto-commits` argument to the README.md file.

```markdown
README.md
<<<<<<< ORIGINAL
- `--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).
=======
- `--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).
>>>>>>> UPDATED
```
2023-05-11 23:25:51 -07:00
Paul Gauthier
b83ef2f30f updated readme 2023-05-11 09:43:05 -07:00
Paul Gauthier
f5bfd41ecd updated readme 2023-05-11 06:20:29 -07:00
Paul Gauthier
a614179209 fix logic when there is no git repo 2023-05-11 06:01:37 -07:00
Paul Gauthier
86ba5c778c updated readme 2023-05-10 22:50:25 -07:00
Paul Gauthier
d9789f3fd7 updated readme 2023-05-10 22:48:26 -07:00
Paul Gauthier
13760f3071 updated readme 2023-05-10 22:27:52 -07:00
Paul Gauthier
c313c85f1a updated readme 2023-05-10 22:26:13 -07:00
Paul Gauthier
d0a557cb36 updated readme 2023-05-10 22:22:56 -07:00
Paul Gauthier
62d68a77bd updated readme 2023-05-10 22:05:21 -07:00
Paul Gauthier
cda834f7fd updated readme 2023-05-10 19:32:23 -07:00
Paul Gauthier
f8939c55a5 aider: Updated the Usage section in README.md to show the new environment variable default for the --model command-line argument.
# Context:
USER: update readme
ASSISTANT: Please provide more information about what you would like to update in the README.md file.
USER: so usage shows the new env default for --model
ASSISTANT: I will update the Usage section in the README.md file to show the new environment variable default for the `--model` command-line argument.

```python
README.md
<<<<<<< ORIGINAL
- `--model MODEL`: Specify the model to use for the main chat (default: gpt-4). No environment variable override.
=======
- `--model MODEL`: Specify the model to use for the main chat (default: gpt-4). Override with the environment variable `AIDER_MODEL`.
>>>>>>> UPDATED
```

Now, the Usage section in the README.md file shows the environment variable default for the `--model` command-line argument.
2023-05-10 17:58:34 -07:00
Paul Gauthier
8ce2f381b8 Added --commit-dirty option to commit dirty files without confirmation on launch. 2023-05-10 17:56:57 -07:00
Paul Gauthier
5e438941ce aider: Updated the Usage section in README.md to explain all the command-line arguments and their environment variable overrides.
# Context:
USER: update the Usage section to explain all the command line args and their env overrides
ASSISTANT: I will update the Usage section in the README.md file to explain all the command-line arguments and their environment variable overrides.

```python
README.md
<<<<<<< ORIGINAL
Run the Aider tool by executing the following command:

```
aider <file1> <file2> ...
```

Replace `<file1>`, `<file2>`, etc., with the paths to the source code files you want to work on.

You can also use additional command-line options to customize the behavior of the tool. The following options are available:

- `--history-file HISTORY_FILE`: Specify the history file (default: .aider.history, AIDER_HISTORY_FILE).
- `--model MODEL`: Specify the model to use for the main chat (default: gpt-4).
- `-3`: Use gpt-3.5-turbo model for the main chat (basically won't work).
- `--no-pretty`: Disable pretty, colorized output (AIDER_PRETTY).
- `--apply FILE`: Apply the changes from the given file instead of running the chat.
- `--commit-dirty`: On launch, commit dirty files w/o confirmation (default: False, AIDER_COMMIT_DIRTY).
- `--show-diffs`: Show diffs when committing changes (default: False, AIDER_SHOW_DIFFS).
=======
Run the Aider tool by executing the following command:

```
aider <file1> <file2> ...
```

Replace `<file1>`, `<file2>`, etc., with the paths to the source code files you want to work on.

You can also use additional command-line options to customize the behavior of the tool. The following options are available, along with their corresponding environment variable overrides:

- `--history-file HISTORY_FILE`: Specify the history file (default: .aider.history). Override with the environment variable `AIDER_HISTORY_FILE`.
- `--model MODEL`: Specify the model to use for the main chat (default: gpt-4). No environment variable override.
- `-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 with the environment variable `AIDER_PRETTY` (default: 1 for enabled, 0 for disabled).
- `--apply FILE`: Apply the changes from the given file instead of running the chat. No environment variable override.
- `--commit-dirty`: On launch, commit dirty files without confirmation (default: False). Override with the environment variable `AIDER_COMMIT_DIRTY` (default: 0 for False, 1 for True).
- `--show-diffs`: Show diffs when committing changes (default: False). Override with the environment variable `AIDER_SHOW_DIFFS` (default: 0 for False, 1 for True).
>>>>>>> UPDATED
```

This update provides a clearer explanation of the command-line arguments and their environment variable overrides.
2023-05-10 17:56:37 -07:00
Paul Gauthier
1b7b0fddfe aider: Updated Usage section in README.md to explain all the command line arguments and their environment variable overrides.
# Context:
USER: update the Usage section to explain all the command line args and their env overrides
ASSISTANT: I will update the Usage section in the README.md file to explain all the command line arguments and their environment variable overrides.

```python
README.md
<<<<<<< ORIGINAL
Run the Aider tool by executing the following command:

```
aider <file1> <file2> ...
```

Replace `<file1>`, `<file2>`, etc., with the paths to the source code files you want to work on.

You can also use additional command-line options to customize the behavior of the tool. For more information, run `aider --help`. Many defaults can be set with `.env` or environment variables, see the help output.
=======
Run the Aider tool by executing the following command:

```
aider <file1> <file2> ...
```

Replace `<file1>`, `<file2>`, etc., with the paths to the source code files you want to work on.

You can also use additional command-line options to customize the behavior of the tool. The following options are available:

- `--history-file HISTORY_FILE`: Specify the history file (default: .aider.history, AIDER_HISTORY_FILE).
- `--model MODEL`: Specify the model to use for the main chat (default: gpt-4).
- `-3`: Use gpt-3.5-turbo model for the main chat (basically won't work).
- `--no-pretty`: Disable pretty, colorized output (AIDER_PRETTY).
- `--apply FILE`: Apply the changes from the given file instead of running the chat.
- `--commit-dirty`: On launch, commit dirty files w/o confirmation (default: False, AIDER_COMMIT_DIRTY).
- `--show-diffs`: Show diffs when committing changes (default: False, AIDER_SHOW_DIFFS).

For more information, run `aider --help`. Many defaults can be set with `.env` or environment variables, see the help output.
>>>>>>> UPDATED
```
2023-05-10 17:52:12 -07:00
Paul Gauthier
7cc2b59a25 updated readme 2023-05-10 13:02:37 -07:00
Paul Gauthier
6f922f4674 aider: Added /commit, /undo, and /diff commands to the README.md file.
# Context:
USER: update the commands section of the readme
ASSISTANT: Here's the updated commands section for the README.md file:

```markdown
README.md
<<<<<<< ORIGINAL
* `/add <file>`: Add matching files to the chat.
* `/drop <file>`: Remove matching files from the chat.
* `/ls`: List files and show their chat status.
=======
* `/add <file>`: Add matching files to the chat.
* `/drop <file>`: Remove matching files from the chat.
* `/ls`: List files and show their chat status.
* `/commit [message]`: Commit outstanding changes to the chat files. Aider will provide a commit message if you don't.
* `/undo`: Undo the last git commit if it was done by aider.
* `/diff`: Display the diff of the last aider commit.
>>>>>>> UPDATED
```

I've added the `/commit`, `/undo`, and `/diff` commands to the list.
2023-05-10 12:56:28 -07:00
Paul Gauthier
24593a345f Changed command descriptions to be more specific. 2023-05-10 12:30:28 -07:00
Paul Gauthier
605a5af522 aider: Added /help command to the list of available commands in README.md.
# Context:
USER: add /help too
ASSISTANT: To add the `/help` command to the list of commands in the `README.md` file, you can insert the following content:

```python
README.md
<<<<<<< ORIGINAL
Aider supports the following commands:

* `/add <file>`: Add files to the chat.
* `/drop <file>`: Remove files from the chat.
* `/ls`: List files and show their chat status.
=======
Aider supports the following commands:

* `/help`: Show help about all commands.
* `/add <file>`: Add files to the chat.
* `/drop <file>`: Remove files from the chat.
* `/ls`: List files and show their chat status.
>>>>>>> UPDATED
```

This will add the `/help` command to the list of available commands in the README.md file.
2023-05-10 12:28:49 -07:00
Paul Gauthier
c128141325 aider: Added a "Commands" section to the README.md file, documenting the available commands.
# Context:
USER: Add a section to the readme that documents the / commands
ASSISTANT: To add a section to the README.md file that documents the available commands, you can insert the following content:

```python
README.md
<<<<<<< ORIGINAL
* Live, colorized, human friendly output.
* Readline style chat input history, with autocompletion of tokens found in the source files being discussed (via `prompt_toolkit`)
=======
* Live, colorized, human friendly output.
* Readline style chat input history, with autocompletion of tokens found in the source files being discussed (via `prompt_toolkit`)

## Commands

Aider supports the following commands:

* `/add <file>`: Add files to the chat.
* `/drop <file>`: Remove files from the chat.
* `/ls`: List files and show their chat status.

To use a command, simply type it in the chat input followed by any required arguments.
>>>>>>> UPDATED
```

This will add a new section called "Commands" to the README.md file, explaining the available commands and their usage.
2023-05-10 12:28:04 -07:00
Paul Gauthier
b9fd79acb6 updated readme 2023-05-10 09:59:19 -07:00
Paul Gauthier
9ab1a0d513 updated readme 2023-05-09 21:29:53 -07:00
Paul Gauthier
4aec6a9ba0 updated readme 2023-05-09 21:24:32 -07:00
Paul Gauthier
77ca367bcb updated readme 2023-05-09 21:21:21 -07:00
Paul Gauthier
1b602111fe updated readme 2023-05-09 21:20:06 -07:00
Paul Gauthier
d1b9705356 updated readme 2023-05-09 21:14:50 -07:00
Paul Gauthier
cbd0ae1462 updated readme 2023-05-09 21:09:12 -07:00
Paul Gauthier
f708314f3a updated readme 2023-05-09 21:07:32 -07:00
Paul Gauthier
2ebff9d1a5 updated readme 2023-05-09 21:06:06 -07:00
Paul Gauthier
0c7f16afbf updated readme 2023-05-09 19:42:47 -07:00
Paul Gauthier
3425adee28 updated readme 2023-05-09 16:32:06 -07:00
Paul Gauthier
88fc820cc3 updated readme 2023-05-09 16:19:52 -07:00
Paul Gauthier
93df7ec661 updated readme 2023-05-09 15:59:01 -07:00