= ({ item, variant, isSelect
{formatLargeNumber(item.cacheWrites || 0)}
-
+
{formatLargeNumber(item.cacheReads || 0)}
)}
-
+
{/* Full Tokens */}
{(item.tokensIn || item.tokensOut) && (
diff --git a/webview-ui/src/components/settings/ExperimentalSettings.tsx b/webview-ui/src/components/settings/ExperimentalSettings.tsx
index 5525a842b2..d8bc6691d5 100644
--- a/webview-ui/src/components/settings/ExperimentalSettings.tsx
+++ b/webview-ui/src/components/settings/ExperimentalSettings.tsx
@@ -78,7 +78,10 @@ export const ExperimentalSettings = ({
experimentKey={config[0]}
enabled={experiments[EXPERIMENT_IDS[config[0] as keyof typeof EXPERIMENT_IDS]] ?? false}
onChange={(enabled) =>
- setExperimentEnabled(EXPERIMENT_IDS[config[0] as keyof typeof EXPERIMENT_IDS], enabled)
+ setExperimentEnabled(
+ EXPERIMENT_IDS[config[0] as keyof typeof EXPERIMENT_IDS],
+ enabled,
+ )
}
/>
)
diff --git a/webview-ui/src/components/settings/providers/__tests__/Bedrock.test.tsx b/webview-ui/src/components/settings/providers/__tests__/Bedrock.test.tsx
index c1f177ac7b..556de4ded1 100644
--- a/webview-ui/src/components/settings/providers/__tests__/Bedrock.test.tsx
+++ b/webview-ui/src/components/settings/providers/__tests__/Bedrock.test.tsx
@@ -353,7 +353,9 @@ describe("Bedrock Component", () => {
)
// Verify checkbox is checked and endpoint is visible
- expect(screen.getByTestId("checkbox-input-settings:providers.awsbedrockvpc.usecustomvpcendpoint")).toBeChecked()
+ expect(
+ screen.getByTestId("checkbox-input-settings:providers.awsbedrockvpc.usecustomvpcendpoint"),
+ ).toBeChecked()
expect(screen.getByTestId("vpc-endpoint-input")).toBeInTheDocument()
expect(screen.getByTestId("vpc-endpoint-input")).toHaveValue("https://custom-endpoint.aws.com")
@@ -374,7 +376,9 @@ describe("Bedrock Component", () => {
)
// Verify checkbox is unchecked and endpoint is not visible
- expect(screen.getByTestId("checkbox-input-settings:providers.awsbedrockvpc.usecustomvpcendpoint")).not.toBeChecked()
+ expect(
+ screen.getByTestId("checkbox-input-settings:providers.awsbedrockvpc.usecustomvpcendpoint"),
+ ).not.toBeChecked()
expect(screen.queryByTestId("vpc-endpoint-input")).not.toBeInTheDocument()
})
@@ -394,7 +398,9 @@ describe("Bedrock Component", () => {
)
// Verify initial state
- expect(screen.getByTestId("checkbox-input-settings:providers.awsbedrockvpc.usecustomvpcendpoint")).not.toBeChecked()
+ expect(
+ screen.getByTestId("checkbox-input-settings:providers.awsbedrockvpc.usecustomvpcendpoint"),
+ ).not.toBeChecked()
expect(screen.queryByTestId("vpc-endpoint-input")).not.toBeInTheDocument()
// Update with new configuration
@@ -412,7 +418,9 @@ describe("Bedrock Component", () => {
)
// Verify updated state
- expect(screen.getByTestId("checkbox-input-settings:providers.awsbedrockvpc.usecustomvpcendpoint")).toBeChecked()
+ expect(
+ screen.getByTestId("checkbox-input-settings:providers.awsbedrockvpc.usecustomvpcendpoint"),
+ ).toBeChecked()
expect(screen.getByTestId("vpc-endpoint-input")).toBeInTheDocument()
expect(screen.getByTestId("vpc-endpoint-input")).toHaveValue("https://updated-endpoint.aws.com")
})
diff --git a/webview-ui/vite.config.ts b/webview-ui/vite.config.ts
index 6657d1e131..938ce5c4c6 100644
--- a/webview-ui/vite.config.ts
+++ b/webview-ui/vite.config.ts
@@ -124,7 +124,9 @@ export default defineConfig(({ mode }) => {
if (moduleInfo?.importers.some((importer) => importer.includes("node_modules/mermaid"))) {
return "mermaid-bundle"
}
- if (moduleInfo?.dynamicImporters.some((importer) => importer.includes("node_modules/mermaid"))) {
+ if (
+ moduleInfo?.dynamicImporters.some((importer) => importer.includes("node_modules/mermaid"))
+ ) {
return "mermaid-bundle"
}
},