Skip to content

Commit 3343092

Browse files
authored
Apply suggestions from code review
1 parent 357cb94 commit 3343092

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.changeset/big-fans-spend.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
"kilo-code": minor
33
---
44

5-
Update baseURL for Vertex Anthropic models to fix.
5+
Update base URL for Vertex Anthropic models to work around outdated library.

src/api/providers/__tests__/anthropic-vertex.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ describe("VertexHandler", () => {
6060
})
6161

6262
expect(AnthropicVertex).toHaveBeenCalledWith({
63-
baseURL: "https://aiplatform.googleapis.com/v1",
63+
baseURL: "https://aiplatform.googleapis.com/v1", // kilocode_change
6464
projectId: "test-project",
6565
region: "us-central1",
6666
})

src/api/providers/anthropic-vertex.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,8 @@ export class AnthropicVertexHandler extends BaseProvider implements SingleComple
3636

3737
//kilocode_change start
3838
// Manually construct the baseURL because the format has changed (there are no longer
39-
// dedicated hosts), but updating the required anthropic libraries has signidficant
39+
// dedicated hosts), but the required updated Anthropic libraries have significant
4040
// breaking changes for other parts of the application.
41-
// TODO: Upgrade the anthropic libraries
4241
const updatedBaseUrl = `https://aiplatform.googleapis.com/v1`
4342

4443
const googleAuthConfig =

0 commit comments

Comments
 (0)