Commit graph

4549 commits

Author SHA1 Message Date
Paul Gauthier
cfec622707 Added codestral 2024-06-08 20:37:29 -07:00
Paul Gauthier
effc88a887 Added gemini-1.5-flash-latest data 2024-06-08 17:02:01 -07:00
Paul Gauthier
86ea47f791 added together_ai/qwen/Qwen2-72B-Instruct data 2024-06-08 16:43:28 -07:00
Paul Gauthier
02c7335aa7 copy 2024-06-08 15:50:29 -07:00
Paul Gauthier
1a97498ee9 copy 2024-06-08 14:37:35 -07:00
Paul Gauthier
48aa0a4f77 added install demo video 2024-06-08 14:33:57 -07:00
Paul Gauthier
88ea4198ea added descriptions 2024-06-08 13:57:16 -07:00
Paul Gauthier
36dab7d89f copy 2024-06-08 13:42:58 -07:00
Paul Gauthier
4cbeb59bec browser ver should stop after 3 reflections 2024-06-08 13:38:18 -07:00
Paul Gauthier
8d3a320ab3 log the announcements in the gui too 2024-06-08 13:31:40 -07:00
Paul Gauthier
d2b9eec3e0 fixed bad url; fixed max_reflection logic 2024-06-08 12:57:36 -07:00
Paul Gauthier
2d55d532be aider: Add test to ensure all URLs return a 200 status code.
# Aider chat conversation:

USER: write a test that makes sure all the urls are 200

ASSISTANT: Here is the test to ensure all the URLs return a 200 status code:

tests/test_urls.py
```python
<<<<<<< SEARCH
=======
import requests
from aider import urls

def test_urls():
    url_attributes = [attr for attr in dir(urls) if not callable(getattr(urls, attr)) and not attr.startswith("__")]
    for attr in url_attributes:
        url = getattr(urls, attr)
        response = requests.get(url)
        assert response.status_code == 200, f"URL {url} returned status code {response.status_code}"
>>>>>>> REPLACE
```
2024-06-08 12:55:13 -07:00
Paul Gauthier
1f1da4b1a2 refac all urls into urls.py 2024-06-08 12:53:54 -07:00
Paul Gauthier
09d3d02971 more conservative reflection if 2024-06-08 12:40:35 -07:00
Paul Gauthier
af21315d51 copy 2024-06-08 12:40:23 -07:00
Paul Gauthier
8f70c359a6 copy 2024-06-08 12:10:33 -07:00
Paul Gauthier
4a55258009 copy 2024-06-08 10:39:26 -07:00
Paul Gauthier
4017c47406 copy 2024-06-08 10:27:05 -07:00
Paul Gauthier
74e51d5c31 copy 2024-06-08 10:04:02 -07:00
Paul Gauthier
0882ae9982 copy 2024-06-08 10:00:16 -07:00
Paul Gauthier
be0520f62f copy 2024-06-07 05:30:18 -07:00
Paul Gauthier
f2de9d26c7 added techfren video to tutorials 2024-06-07 05:27:32 -07:00
Paul Gauthier
2be24f207f copy 2024-06-06 16:44:00 -07:00
Paul Gauthier
329e16e59b copy 2024-06-06 16:42:24 -07:00
Paul Gauthier
519b95713b browser blog & doc need to be separate 2024-06-06 16:05:13 -07:00
Paul Gauthier
435e9a0d86 fixing broken links 2024-06-06 16:00:17 -07:00
Paul Gauthier
f760eacfd6 fixed link 2024-06-06 15:25:23 -07:00
Paul Gauthier
f97ed15dd3 fixed broken links 2024-06-06 15:14:41 -07:00
Paul Gauthier
fa3df117d9 copy 2024-06-06 14:52:31 -07:00
Paul Gauthier
30f4a905c1 renamed config/options and get_md_help() 2024-06-06 14:00:14 -07:00
Paul Gauthier
53deb04e75 use dashed-names not underscore_names in yaml 2024-06-06 13:46:32 -07:00
Paul Gauthier
65c9a7866a improved handling of defaults 2024-06-06 13:40:16 -07:00
Paul Gauthier
3be2c3e893 copy 2024-06-06 12:49:12 -07:00
Paul Gauthier
645ace1d0e fix defaults in sample yml 2024-06-06 12:46:07 -07:00
Paul Gauthier
0068a35554 Merge remote-tracking branch 'origin/main' 2024-06-06 12:41:50 -07:00
Paul Gauthier
2d62e3fb1f add sample aider.conf.yml 2024-06-06 12:40:25 -07:00
Paul Gauthier
caca261587 output nice md usage 2024-06-06 12:26:06 -07:00
Paul Gauthier
8e9cbcc014 Refactored MarkdownHelpFormatter to improve formatting and display additional information about actions. 2024-06-06 12:14:20 -07:00
Paul Gauthier
e7aafd9590 aider: Add argument formatter to print arguments in a specified format.
# Aider chat conversation:

USER: Add an args formatter that prints out args like this:

## Output Settings:

### --dark-mode
Use colors suitable for a dark terminal background
Default: False

### --light-mode
Use colors suitable for a light terminal background
Default: False

...

ASSISTANT: To add an argument formatter that prints out arguments in the specified format, we need to:

1. Create a new formatter class.
2. Update the `get_help` function to use this new formatter.

Here are the changes:

1. Create a new file `aider/args_formatter.py` with the custom formatter class.
2. Update `aider/args.py` to use this new formatter.

Let's start with the new file:

aider/args_formatter.py
```python
<<<<<<< SEARCH
=======
import argparse

class CustomHelpFormatter(argparse.HelpFormatter):
    def start_section(self, heading):
        super().start_section(f"## {heading}:")

    def _format_action(self, action):
        parts = []
        if action.help:
            parts.append(f"### --{action.dest}")
            parts.append(action.help)
            if action.default is not argparse.SUPPRESS:
                parts.append(f"Default: {action.default}")
        return "\n".join(parts)

    def _format_action_invocation(self, action):
        return ""

    def _format_args(self, action, default_metavar):
        return ""
>>>>>>> REPLACE
```

Next, update `aider/args.py` to use this new formatter:

aider/args.py
```python
<<<<<<< SEARCH
from aider import __version__, models
=======
from aider import __version__, models
from aider.args_formatter import CustomHelpFormatter
>>>>>>> REPLACE
```

aider/args.py
```python
<<<<<<< SEARCH
        description="aider is GPT powered coding in your terminal",
=======
        description="aider is GPT powered coding in your terminal",
        formatter_class=CustomHelpFormatter,
>>>>>>> REPLACE
```

aider/args.py
```python
<<<<<<< SEARCH
    parser = get_parser([], None)
=======
    parser = get_parser([], None)
    parser.formatter_class = CustomHelpFormatter
>>>>>>> REPLACE
```
2024-06-06 11:38:45 -07:00
paul-gauthier
1b7a04f168
Merge pull request #647 from eltociear/patch-4
docs: update HISTORY.md
2024-06-06 11:14:26 -07:00
Paul Gauthier
0e5342fdb8 copy 2024-06-06 11:01:27 -07:00
Paul Gauthier
3cda6d7dd3 copy 2024-06-06 10:40:57 -07:00
Paul Gauthier
ef08b2fa1b copy 2024-06-06 10:37:16 -07:00
Paul Gauthier
9873db94f0 copy 2024-06-06 10:23:27 -07:00
Paul Gauthier
3e6a4d5edc copy 2024-06-06 10:21:09 -07:00
Paul Gauthier
3073a02450 copy 2024-06-06 10:11:49 -07:00
Paul Gauthier
36d6dc820a copy 2024-06-06 10:02:18 -07:00
Paul Gauthier
8c3ccf5054 copy 2024-06-06 09:54:24 -07:00
Paul Gauthier
f2ab3c6966 copy 2024-06-06 09:44:53 -07:00
Paul Gauthier
542bcaab76 copy 2024-06-06 09:36:41 -07:00