Skip to content

Commit 4c8577c

Browse files
committed
Reads unbound model ID from configuration
1 parent 64a579e commit 4c8577c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webview-ui/src/components/settings/UnboundModelPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { ModelInfoView, normalizeApiConfiguration } from "./ApiOptions"
1313

1414
const UnboundModelPicker: React.FC = () => {
1515
const { apiConfiguration, setApiConfiguration, unboundModels, onUpdateApiConfig } = useExtensionState()
16-
const [searchTerm, setSearchTerm] = useState(apiConfiguration?.apiModelId || unboundDefaultModelId)
16+
const [searchTerm, setSearchTerm] = useState(apiConfiguration?.unboundModelId || unboundDefaultModelId)
1717
const [isDropdownVisible, setIsDropdownVisible] = useState(false)
1818
const [selectedIndex, setSelectedIndex] = useState(-1)
1919
const dropdownRef = useRef<HTMLDivElement>(null)

0 commit comments

Comments
 (0)