feat(openrouter): add model quantizations setting (#5080)
* feat(openrouter): add model quantizations setting * Remove bogus setting * Simplify nullish coalescing assignment --------- Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
@@ -1065,6 +1065,13 @@ export function initTextGenModels() {
|
||||
width: '100%',
|
||||
templateResult: getAphroditeModelTemplate,
|
||||
});
|
||||
$('.openrouter_quantizations').select2({
|
||||
closeOnSelect: false,
|
||||
placeholder: t`Select quantizations. No selection = all quantizations.`,
|
||||
searchInputCssClass: 'text_pole',
|
||||
searchInputPlaceholder: t`Search quantizations...`,
|
||||
width: '100%',
|
||||
});
|
||||
providersSelect.select2({
|
||||
sorter: data => data.sort((a, b) => a.text.localeCompare(b.text)),
|
||||
placeholder: t`Select providers. No selection = all providers.`,
|
||||
|
||||
Reference in New Issue
Block a user