summaryrefslogtreecommitdiff
path: root/htroot
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2026-03-28 21:32:37 +0100
committerMichael Peter Christen <mc@yacy.net>2026-03-28 21:32:37 +0100
commite0bf6b8c68f0d141f1ee4c35a3e65108caf27615 (patch)
tree554d1ba33a170c6beda9a6cdeaee874be68da3b8 /htroot
parent3c3388201f26ad50aed1c0879966d5926d22401c (diff)
Respect persisted tooling capability for chat models
Diffstat (limited to 'htroot')
-rw-r--r--htroot/LLMSelection_p.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/htroot/LLMSelection_p.html b/htroot/LLMSelection_p.html
index 74f38d48a..983a52822 100644
--- a/htroot/LLMSelection_p.html
+++ b/htroot/LLMSelection_p.html
@@ -674,15 +674,17 @@
const cell = row.cells[col];
if (!cell) continue;
let checkbox = cell.querySelector('input[type="checkbox"]');
+ let isNewCheckbox = false;
if (!checkbox) {
checkbox = document.createElement("input");
checkbox.type = "checkbox";
cell.textContent = "";
cell.appendChild(checkbox);
checkbox.checked = !!defaultChecked && isSelectableUsageColumn(col);
+ isNewCheckbox = true;
}
checkbox.disabled = col >= PRODUCTION_MODEL_FEATURE_COLUMN_START || !isSelectableUsageColumn(col);
- if (!isSelectableUsageColumn(col)) checkbox.checked = false;
+ if (isNewCheckbox && !isSelectableUsageColumn(col)) checkbox.checked = false;
initializeUsageCheckbox(checkbox, col);
}
if (defaultChecked) {