Skip to content

Conversation

@dannykopping
Copy link
Contributor

Signed-off-by: Danny Kopping <danny@coder.com>
@dannykopping dannykopping marked this pull request as ready for review October 28, 2025 02:43
Signed-off-by: Danny Kopping <danny@coder.com>
@dannykopping dannykopping changed the title feat: AWS Bedrock support feat: add AWS Bedrock support Oct 28, 2025
Comment on lines +51 to +53
if cfg.Region.String() == "" && cfg.AccessKey.String() == "" && cfg.AccessKeySecret.String() == "" {
return nil
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code in aibridge returned an error if model or small fast model wasn't set either. It's unlikely it won't be set since there is a default value, but technically it could still be unset by the user so you should still check that it's not empty here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to do that here I think. There's validation that the model/small-fast-model are set when creating a client; this is just determining whether Bedrock is configured or not.

Signed-off-by: Danny Kopping <danny@coder.com>
@dannykopping dannykopping enabled auto-merge (squash) October 28, 2025 03:26
@dannykopping dannykopping merged commit d18441d into main Oct 28, 2025
28 of 30 checks passed
@dannykopping dannykopping deleted the dk/bedrock branch October 28, 2025 03:38
@github-actions github-actions bot locked and limited conversation to collaborators Oct 28, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Validate/implement Bedrock support

2 participants