-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lambda container with Bedrock #1673
Comments
💡 Auto-generated documentation-based answer:Yes, you can use Amazon Bedrock with PR-Agent in a Lambda container. To configure this, you need to:
[config]
model="bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0"
fallback_models=["bedrock/anthropic.claude-3-5-sonnet-20240620-v1:0"]
If you're experiencing issues with the execution role, make sure:
For more details on Bedrock configuration, check the documentation on changing models. Relevant Sources: |
Per auto-docs, that was my expectation but doesn't appear to work. Has anyone successfully done this? |
done what ? As the docs say, the auth that is currently supported is using an it works. I don't know exactly what is "execution role in the IAM chain". |
So when running pr-agent as an AWS lambda function, it seems those configuration options are overridden by Lambda. You can't even set the AWS_ACCESS_KEY_ID and secret envs Will investigate further |
Git provider (optional)
github.com
System Info (optional)
Lambda standard setup
Issues details
I've gotten the lambda container working with Anthropic API key. However, has anyone gotten this working with Bedrock? It doesn't seem like the container is able to use the execution role in the IAM chain
The text was updated successfully, but these errors were encountered: