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
8f92c32693
commit
4e9272e31c
1 changed files with 15 additions and 3 deletions
|
@ -39,11 +39,17 @@ export AWS_PROFILE=your-profile
|
|||
You can add these to your
|
||||
[.env file](/docs/config/dotenv.html).
|
||||
|
||||
## Bedrock with `pipx` installation
|
||||
## Install boto3
|
||||
|
||||
The AWS Bedrock provider requires the `boto3` package in order to function correctly. To use aider installed via `pipx` with AWS Bedrock, you must add the `boto3` dependency to aider's virtual environment by running
|
||||
The AWS Bedrock provider requires the `boto3` package in order to function correctly:
|
||||
|
||||
```bash
|
||||
pip install boto3
|
||||
```
|
||||
|
||||
To use aider installed via `pipx` with AWS Bedrock, you must add the `boto3` dependency to aider's virtual environment by running
|
||||
|
||||
```bash
|
||||
pipx inject aider boto3
|
||||
```
|
||||
|
||||
|
@ -56,12 +62,18 @@ Once your AWS credentials are set up, you can run Aider with the `--model` comma
|
|||
aider --model bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0
|
||||
```
|
||||
|
||||
Sometimes it seems to help if you prefix the model name with "us.":
|
||||
|
||||
```bash
|
||||
aider --model bedrock/us.anthropic.claude-3-5-sonnet-20240620-v1:0
|
||||
```
|
||||
|
||||
|
||||
## Available Models
|
||||
|
||||
To see some models available via Bedrock, run:
|
||||
|
||||
```
|
||||
```bash
|
||||
aider --list-models bedrock/
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue