"docs/tools/vscode:/vscode.git/clone" did not exist on "14d2966b9e91ae16dcc39de8f41017a75cec8ff9"
Commit 434595b3 authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix: delete model list

parent 534ba9e4
......@@ -507,7 +507,7 @@
{#if !deleteModelTag}
<option value="" disabled selected>Select a model</option>
{/if}
{#each $models.filter((m) => m.size != null) as model}
{#each $models.filter((m) => m.size != null && (selectedOllamaUrlIdx === null ? true : (m?.urls ?? []).includes(selectedOllamaUrlIdx))) as model}
<option value={model.name} class="bg-gray-100 dark:bg-gray-700"
>{model.name + ' (' + (model.size / 1024 ** 3).toFixed(1) + ' GB)'}</option
>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment