Fix style-matched dropdowns — populate from full model list, not just pool

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-21 02:42:53 -06:00
parent fcefabdaee
commit 56607879ee
+2 -1
View File
@@ -1397,7 +1397,8 @@ function updateCallerModelUI() {
const sel = document.createElement('select'); const sel = document.createElement('select');
sel.className = 'cm-style-select'; sel.className = 'cm-style-select';
sel.dataset.style = style; sel.dataset.style = style;
for (const m of callerModelSettings.pool) { const models = window._openrouterModels || callerModelSettings.pool;
for (const m of models) {
const opt = document.createElement('option'); const opt = document.createElement('option');
opt.value = m; opt.value = m;
opt.textContent = m.split('/').pop(); opt.textContent = m.split('/').pop();