 refreshIcon.classList.toggle('refreshing');
            const getURL = new URL("/v1/models", getBaseURL())
            const auth = apiKey.value ? `Bearer ${apiKey.value}` : undefined;

            try {
                const response = await fetch(getURL, {
                    method: 'GET',
                    headers: {
                        'Authorization': auth,
                    },
                });

                const models = (await response.json()).data;
                while (modelSelect