Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit eb6d06d

Browse files
sourcegraph-release-botChris Warwick
andauthored
[Backport 5.2] Cody: Update Bedrock endpoint to match documentation (#58040)
Cody: Update Bedrock endpoint to match documentation (#58028) update bedrock endpoint to match GA documentation (cherry picked from commit 953e02a) Co-authored-by: Chris Warwick <[email protected]>
1 parent 471ed6a commit eb6d06d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/completions/client/awsbedrock/bedrock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ func (c *awsBedrockAnthropicCompletionStreamClient) makeRequest(ctx context.Cont
194194

195195
apiURL := url.URL{
196196
Scheme: "https",
197-
Host: fmt.Sprintf("bedrock.%s.amazonaws.com", defaultConfig.Region),
197+
Host: fmt.Sprintf("bedrock-runtime.%s.amazonaws.com", defaultConfig.Region),
198198
}
199199

200200
if stream {

0 commit comments

Comments
 (0)