OpenRouter: Use display name for options on text completion

28f5b74cc7b1834329d26e3798cc6b5fb22677a9

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Ignore whitespace
public/scripts/textgen-models.js+1 -1
@@ -267,7 +267,7 @@ export async function loadOpenRouterModels(data) {
267 for (const model of data) {267 for (const model of data) {
268 const option = document.createElement('option');268 const option = document.createElement('option');
269 option.value = model.id;269 option.value = model.id;
270 option.text = model.id;270 option.text = model.name;
271 option.selected = model.id === textgen_settings.openrouter_model;271 option.selected = model.id === textgen_settings.openrouter_model;
272 $('#openrouter_model').append(option);272 $('#openrouter_model').append(option);
273 }273 }