Skip to content

Commit fae7a6e

Browse files
author
Kevin White
committed
Bug fixes
1 parent bd398e4 commit fae7a6e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

packages/types/src/provider-settings.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,8 @@ const bedrockSchema = apiModelIdProviderModelSchema.extend({
100100
awsProfile: z.string().optional(),
101101
awsUseProfile: z.boolean().optional(),
102102
awsCustomArn: z.string().optional(),
103+
awsBedrockEndpointEnabled: z.boolean().optional(),
104+
awsBedrockEndpoint: z.string().optional(),
103105
})
104106

105107
const vertexSchema = apiModelIdProviderModelSchema.extend({
@@ -283,6 +285,8 @@ export const PROVIDER_SETTINGS_KEYS = keysOf<ProviderSettings>()([
283285
"awsProfile",
284286
"awsUseProfile",
285287
"awsCustomArn",
288+
"awsBedrockEndpointEnabled",
289+
"awsBedrockEndpoint",
286290
// Google Vertex
287291
"vertexKeyFile",
288292
"vertexJsonCredentials",

webview-ui/src/components/settings/providers/__tests__/Bedrock.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React from "react"
22
import { render, screen, fireEvent } from "@testing-library/react"
33
import { Bedrock } from "../Bedrock"
4-
import { ProviderSettings } from "@roo/shared/api"
4+
import { ProviderSettings } from "@roo-code/types"
55

66
// Mock the vscrui Checkbox component
77
jest.mock("vscrui", () => ({

0 commit comments

Comments
 (0)