diff --git a/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/Settings.tsx b/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/Settings.tsx index b13916e9..7947df96 100644 --- a/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/Settings.tsx +++ b/src/vs/workbench/contrib/void/browser/react/src/void-settings-tsx/Settings.tsx @@ -167,15 +167,13 @@ const AddModelInputBox = ({ providerName: permanentProviderName, className, comp const [isOpen, setIsOpen] = useState(false) // const providerNameRef = useRef(null) - const [userChosenProviderName, setUserChosenProviderName] = useState(null) + const [userChosenProviderName, setUserChosenProviderName] = useState('anthropic') const providerName = permanentProviderName ?? userChosenProviderName; const [modelName, setModelName] = useState('') const [errorString, setErrorString] = useState('') - if (!providerName) { return null; } - const numModels = settingsState.settingsOfProvider[providerName].models.length if (!isOpen) { @@ -206,9 +204,8 @@ const AddModelInputBox = ({ providerName: permanentProviderName, className, comp getOptionDisplayName={(pn) => pn ? displayInfoOfProviderName(pn).title : 'Provider Name'} getOptionDropdownName={(pn) => pn ? displayInfoOfProviderName(pn).title : 'Provider Name'} getOptionsEqual={(a, b) => a === b} - className={`max-w-44 w-full border border-void-border-2 bg-void-bg-1 text-void-fg-3 text-root - py-[4px] px-[6px] - `} + // className={`max-w-44 w-full border border-void-border-2 bg-void-bg-1 text-void-fg-3 text-root py-[4px] px-[6px]`} + className={`max-w-32 mx-2 w-full resize-none bg-void-bg-1 text-void-fg-1 placeholder:text-void-fg-3 border border-void-border-2 focus:border-void-border-1 py-1 px-2 rounded`} arrowTouchesText={false} /> } @@ -219,7 +216,7 @@ const AddModelInputBox = ({ providerName: permanentProviderName, className, comp onChangeValue={setModelName} placeholder='Model Name' compact={compact} - className={'max-w-44'} + className={'max-w-32'} /> {/* add button */} @@ -533,7 +530,7 @@ export const FeaturesTab = () => {

Models

- +