Add aphrodite model selector

This commit is contained in:
Cohee
2024-03-01 23:02:43 +02:00
parent d1ca855d23
commit 95c49029f7
5 changed files with 66 additions and 2 deletions

View File

@ -142,6 +142,7 @@ const settings = {
infermaticai_model: '',
ollama_model: '',
openrouter_model: 'openrouter/auto',
aphrodite_model: '',
legacy_api: false,
sampler_order: KOBOLDCPP_ORDER,
logit_bias: [],
@ -941,7 +942,7 @@ function getModel() {
}
if (settings.type === APHRODITE) {
return online_status;
return settings.aphrodite_model;
}
if (settings.type === OLLAMA) {