MCPcopy Create free account
hub / github.com/CreminiAI/skillpack / updateModelIdVisibility

Function updateModelIdVisibility

web/js/api-key-dialog.js:195–202  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193}
194
195function updateModelIdVisibility() {
196 if (!modelIdGroup) return;
197 const hasCustomUrl = baseUrlInput && baseUrlInput.value.trim().length > 0;
198 modelIdGroup.style.display = hasCustomUrl ? "" : "none";
199 if (protocolGroup) {
200 protocolGroup.style.display = hasCustomUrl ? "" : "none";
201 }
202}
203
204async function handleSave() {
205 const key = apiKeyInput.value.trim();

Callers 1

updateProviderUIFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected