Skip to content

Commit 2407b2e

Browse files
committed
fix: remove dead Bedrock client guard
1 parent 15f39e9 commit 2407b2e

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

coderd/x/chatd/chatprovider/chatprovider.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,9 +1211,7 @@ func ModelFromConfig(
12111211
if baseURL != "" {
12121212
bedrockOpts = append(bedrockOpts, fantasybedrock.WithBaseURL(baseURL))
12131213
}
1214-
if httpClient != nil {
1215-
bedrockOpts = append(bedrockOpts, fantasybedrock.WithHTTPClient(httpClient))
1216-
}
1214+
bedrockOpts = append(bedrockOpts, fantasybedrock.WithHTTPClient(httpClient))
12171215
providerClient, err = fantasybedrock.New(bedrockOpts...)
12181216
case fantasygoogle.Name:
12191217
options := []fantasygoogle.Option{

0 commit comments

Comments
 (0)