Skip to content

Conversation

@dannykopping
Copy link
Collaborator

Partially addresses #126

Copy link
Contributor

@ssncferreira ssncferreira left a comment

Choose a reason for hiding this comment

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

LGTM 👍 just a question, what happens if the user configures both a Region and a BaseURL for Bedrock? My guess is that the BaseURL takes precedence (since it's appended last to opts. Maybe, a test validating the precedence behavior would be helpful, wdyt?

Signed-off-by: Danny Kopping <[email protected]>
@dannykopping
Copy link
Collaborator Author

dannykopping commented Jan 21, 2026

LGTM 👍 just a question, what happens if the user configures both a Region and a BaseURL for Bedrock? My guess is that the BaseURL takes precedence (since it's appended last to opts. Maybe, a test validating the precedence behavior would be helpful, wdyt?

Fair question @ssncferreira, it was already implicitly doing this in bridge_integration_test.go but now I've made it explicit.
I've also cleaned up some other tests and added reasoning why we can't unit test this in b73304a.

@dannykopping dannykopping merged commit e164b50 into main Jan 21, 2026
1 check passed
dannykopping added a commit to coder/coder that referenced this pull request Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants