We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7723842 commit 188ce5fCopy full SHA for 188ce5f
packages/jupyter-ai/src/components/settings/model-id-input.tsx
@@ -176,7 +176,9 @@ export function ModelIdInput(props: ModelIdInputProps): JSX.Element {
176
}}
177
filterOptions={(options, { inputValue }) => {
178
const searchTerm = inputValue.trim().toLowerCase();
179
- if (!searchTerm || searchTerm.length < 2) return []; // Don't filter if input is empty or too short
+ if (!searchTerm || searchTerm.length < 2) {
180
+ return []; // Don't filter if input is empty or too short
181
+ }
182
return options.filter(option =>
183
option.toLowerCase().includes(searchTerm)
184
);
0 commit comments