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:
+2
-1
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user