Adjusted naming and validation

This commit is contained in:
pl752
2025-04-16 17:34:58 +05:00
parent bfe50403af
commit f8bccb472f
2 changed files with 23 additions and 16 deletions

View File

@@ -25,15 +25,15 @@
<option value="webllm" data-i18n="WebLLM Extension">WebLLM Extension</option>
</select>
</div>
<div class="flex-container flexFlowColumn" id="altEndpointUrl">
<label class="checkbox_label" for="altEndpointUrl_enabled" title="Enable secondary endpoint URL usage, instead of the main one.">
<input id="altEndpointUrl_enabled" type="checkbox" class="checkbox">
<div class="flex-container flexFlowColumn" id="vector_altEndpointUrl">
<label class="checkbox_label" for="vector_altEndpointUrl_enabled" title="Enable secondary endpoint URL usage, instead of the main one.">
<input id="vector_altEndpointUrl_enabled" type="checkbox" class="checkbox">
<span data-i18n="Use secondary URL">Use secondary URL</span>
</label>
<label for="altEndpoint_address" data-i18n="Secondary Embedding endpoint URL">
<label for="vector_altEndpoint_address" data-i18n="Secondary Embedding endpoint URL">
Secondary Embedding endpoint URL
</label>
<input id="altEndpoint_address" class="text_pole" type="text" placeholder="URL for secondary endpoint" />
<input id="vector_altEndpoint_address" class="text_pole" type="text" placeholder="URL for secondary endpoint" />
</div>
<div class="flex-container flexFlowColumn" id="webllm_vectorsModel">
<label for="vectors_webllm_model" data-i18n="Vectorization Model">