Merge pull request #615 from ollama-webui/unlimit-model-selection

feat: remove model selection limit
This commit is contained in:
Timothy Jaeryang Baek 2024-02-01 12:37:29 -08:00 committed by GitHub
commit 07919a878f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -58,11 +58,9 @@
class=" self-center {selectedModelIdx === 0
? 'mr-3'
: 'mr-7'} disabled:text-gray-600 disabled:hover:text-gray-600"
disabled={selectedModels.length === 3 || disabled}
{disabled}
on:click={() => {
if (selectedModels.length < 3) {
selectedModels = [...selectedModels, ''];
}
selectedModels = [...selectedModels, ''];
}}
>
<svg