@kehto/paja 0.29.0 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -598,6 +598,11 @@ function renderPajaHtml(config) {
|
|
|
598
598
|
.llm-connections { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
|
|
599
599
|
.llm-connection { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px; padding: 4px 6px; border: 1px solid var(--line); border-radius: 4px; background: #0b0d0b; font-size: 11px; }
|
|
600
600
|
.llm-connection-label { min-width: 0; overflow-wrap: anywhere; color: var(--text); }
|
|
601
|
+
.llm-form label[hidden] { display: none; }
|
|
602
|
+
.llm-model-status:empty { display: none; }
|
|
603
|
+
.llm-model-status { margin: 0; min-height: 0; }
|
|
604
|
+
.llm-model-status[data-state="ready"] { color: #9fd08a; }
|
|
605
|
+
.llm-model-status[data-state="error"] { color: #e6a5a5; }
|
|
601
606
|
.llm-select-dialog select, .llm-vault-dialog input { width: 100%; min-width: 0; padding: 4px 8px; }
|
|
602
607
|
.llm-vault-dialog .config-error:empty { display: none; }
|
|
603
608
|
.signer { color: var(--muted); word-break: break-all; font-size: 12px; }
|
|
@@ -771,7 +776,9 @@ function renderPajaHtml(config) {
|
|
|
771
776
|
<label>Provider<select id="paja-llm-preset" aria-label="Provider preset"></select></label>
|
|
772
777
|
<label>Name<input id="paja-llm-name" type="text" required maxlength="64" spellcheck="false"></label>
|
|
773
778
|
<label>API base URL<input id="paja-llm-base-url" type="url" required spellcheck="false" placeholder="API root; presets fill this in"></label>
|
|
774
|
-
<label>Model<input id="paja-llm-model" type="text" required maxlength="200" spellcheck="false" list="paja-llm-model-examples"><datalist id="paja-llm-model-examples"></datalist></label>
|
|
779
|
+
<label id="paja-llm-model-field">Model<input id="paja-llm-model" type="text" required maxlength="200" spellcheck="false" list="paja-llm-model-examples"><datalist id="paja-llm-model-examples"></datalist></label>
|
|
780
|
+
<label id="paja-llm-model-select-field" hidden>Model<select id="paja-llm-model-select" required aria-describedby="paja-llm-model-status"></select></label>
|
|
781
|
+
<p class="hint llm-model-status" id="paja-llm-model-status" role="status" aria-live="polite"></p>
|
|
775
782
|
<label>API key<input id="paja-llm-credential" type="password" autocomplete="off" spellcheck="false"></label>
|
|
776
783
|
<label class="llm-check"><input id="paja-llm-remember" type="checkbox"><span>Remember the key, encrypted with a vault password</span></label>
|
|
777
784
|
<label class="llm-check"><input id="paja-llm-images" type="checkbox"><span>Accepts image input</span></label>
|
|
@@ -2578,4 +2585,4 @@ export {
|
|
|
2578
2585
|
validatePajaLlmVaultPassword,
|
|
2579
2586
|
createPajaLlmVault
|
|
2580
2587
|
};
|
|
2581
|
-
//# sourceMappingURL=chunk-
|
|
2588
|
+
//# sourceMappingURL=chunk-4GUFJFK7.js.map
|