feat: Add "API Keys & Models" link in Settings Dialog for better discoverability (#645)

* added api key and model in settings dialog

* added aria-label

* removed configure option from model-selector.tsx
This commit is contained in:
Marvelous Ikponmwosa
2026-01-28 14:36:54 +01:00
committed by GitHub
parent f6f693ee8d
commit 1258f98478
7 changed files with 32 additions and 25 deletions

View File

@@ -170,7 +170,6 @@ interface ChatInputProps {
selectedModelId?: string
onModelSelect?: (modelId: string | undefined) => void
showUnvalidatedModels?: boolean
onConfigureModels?: () => void
// Focus control props
shouldFocus?: boolean
onFocused?: () => void
@@ -194,7 +193,6 @@ export const ChatInput = forwardRef<ChatInputRef, ChatInputProps>(
selectedModelId,
onModelSelect = () => {},
showUnvalidatedModels = false,
onConfigureModels = () => {},
shouldFocus = false,
onFocused,
},
@@ -550,7 +548,6 @@ export const ChatInput = forwardRef<ChatInputRef, ChatInputProps>(
models={models}
selectedModelId={selectedModelId}
onSelect={onModelSelect}
onConfigure={onConfigureModels}
disabled={isDisabled}
showUnvalidatedModels={showUnvalidatedModels}
/>