This commit is contained in:
Paul Gauthier 2024-07-28 21:06:20 -03:00
parent 28772ddc03
commit 87eb7359d1
7 changed files with 22 additions and 2 deletions

View file

@ -11,6 +11,8 @@
- udiff: A coder that uses unified diff format for code modifications.
- help: Interactive help and documentation about aider.
- ask: Ask questions about code without making any changes.
- Add `file: CONVENTIONS.md` to `.aider.conf.yml` to always load a specific file.
- Or `file: [file1, file2, file3]` to always load multiple files.
- Enhanced token usage and cost reporting. Now works when streaming too.
- Filename auto-complete for `/add` and `/drop` is now case-insensitive.
- Commit message improvements:

View file

@ -22,6 +22,8 @@ cog.out(text)
- udiff: A coder that uses unified diff format for code modifications.
- help: Interactive help and documentation about aider.
- ask: Ask questions about code without making any changes.
- Add `file: CONVENTIONS.md` to `.aider.conf.yml` to always load a specific file.
- Or `file: [file1, file2, file3]` to always load multiple files.
- Enhanced token usage and cost reporting. Now works when streaming too.
- Filename auto-complete for `/add` and `/drop` is now case-insensitive.
- Commit message improvements:

View file

@ -17,6 +17,9 @@
#######
# Main:
## specify a file to edit (can be used multiple times)
#file:
## Specify the OpenAI API key
#openai-api-key:

View file

@ -21,6 +21,9 @@
#######
# Main:
## specify a file to edit (can be used multiple times)
#AIDER_FILE=
## Specify the OpenAI API key
#OPENAI_API_KEY=

View file

@ -56,6 +56,9 @@ cog.outl("```")
#######
# Main:
## specify a file to edit (can be used multiple times)
#file:
## Specify the OpenAI API key
#openai-api-key:

View file

@ -63,6 +63,9 @@ cog.outl("```")
#######
# Main:
## specify a file to edit (can be used multiple times)
#AIDER_FILE=
## Specify the OpenAI API key
#OPENAI_API_KEY=

View file

@ -25,8 +25,8 @@ from aider.args import get_md_help
cog.out(get_md_help())
]]]-->
```
usage: aider [-h] [--openai-api-key] [--anthropic-api-key] [--model]
[--opus] [--sonnet] [--4] [--4o] [--4-turbo]
usage: aider [-h] [--file] [--openai-api-key] [--anthropic-api-key]
[--model] [--opus] [--sonnet] [--4] [--4o] [--4-turbo]
[--35turbo] [--models] [--openai-api-base]
[--openai-api-type] [--openai-api-version]
[--openai-api-deployment-id] [--openai-organization-id]
@ -69,6 +69,10 @@ Aliases:
## Main:
### `--file FILE`
specify a file to edit (can be used multiple times)
Environment variable: `AIDER_FILE`
### `--openai-api-key OPENAI_API_KEY`
Specify the OpenAI API key
Environment variable: `OPENAI_API_KEY`