Skip to content

Commit a220381

Browse files
authored
🤖 fix: shorten Bedrock display name and fix overflow (#1092)
_Generated with `mux`_ - Change display name from "Amazon Bedrock" to "Bedrock" (AWS icon already present) - Add `overflow-hidden` to provider column in ModelRow to prevent long names from bleeding into model name area
1 parent d6ee74a commit a220381

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/browser/components/Settings/sections/ModelRow.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export function ModelRow(props: ModelRowProps) {
3838
<ProviderWithIcon
3939
provider={props.provider}
4040
displayName
41-
className="text-muted w-16 shrink-0 text-xs md:w-20"
41+
className="text-muted w-16 shrink-0 overflow-hidden text-xs md:w-20"
4242
/>
4343
{props.isEditing ? (
4444
<div className="flex min-w-0 flex-1 items-center gap-1">

src/common/constants/providers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export const PROVIDER_DEFINITIONS = {
6969
requiresApiKey: true,
7070
},
7171
bedrock: {
72-
displayName: "Amazon Bedrock",
72+
displayName: "Bedrock",
7373
import: () => import("@ai-sdk/amazon-bedrock"),
7474
factoryName: "createAmazonBedrock",
7575
requiresApiKey: false, // Uses AWS credential chain

0 commit comments

Comments
 (0)