diff --git a/webview-ui/src/components/settings/UnboundModelPicker.tsx b/webview-ui/src/components/settings/UnboundModelPicker.tsx index 5cb9045cb0..ee12f239f9 100644 --- a/webview-ui/src/components/settings/UnboundModelPicker.tsx +++ b/webview-ui/src/components/settings/UnboundModelPicker.tsx @@ -13,7 +13,7 @@ import { ModelInfoView, normalizeApiConfiguration } from "./ApiOptions" const UnboundModelPicker: React.FC = () => { const { apiConfiguration, setApiConfiguration, unboundModels, onUpdateApiConfig } = useExtensionState() - const [searchTerm, setSearchTerm] = useState(apiConfiguration?.apiModelId || unboundDefaultModelId) + const [searchTerm, setSearchTerm] = useState(apiConfiguration?.unboundModelId || unboundDefaultModelId) const [isDropdownVisible, setIsDropdownVisible] = useState(false) const [selectedIndex, setSelectedIndex] = useState(-1) const dropdownRef = useRef(null)