You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
first you need to accept the license etc from aws anthropic etc.
this works only in region us west, and still does not work 100%
the error is
["፧ Initializing Bedrock model."]
⛔ ERRORS
Error in generateText:
{"name":"ValidationException","$fault":"client","$metadata":{"httpStatusCode":400,"requestId":"30292ec9-a8b8-40f9-b904-ca56140bf25f","attempts":1,"totalRetryDelay":0}}
⛔ ERRORS
ERROR:
{"name":"ValidationException","$fault":"client","$metadata":{"httpStatusCode":400,"requestId":"30292ec9-a8b8-40f9-b904-ca56140bf25f","attempts":1,"totalRetryDelay":0}}
["፧ Retrying..."]
so i think that might be the parameters.
export AWS_REGION=us-west-2
you need to requst access to the models in aws. not all the models are available everywhere, using us-west-2
https://us-west-2.console.aws.amazon.com/bedrock/home?region=us-west-2#/modelaccess
list model
`aws bedrock list-foundation-models`
install aws cli new ```
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --bin-dir /usr/local/bin --install-dir /usr/local/aws-cli --update
```
```
eval $(/usr/local/aws-cli/v2/current/bin/aws configure export-credentials --profile default --format env)
```
0 commit comments