mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-03 04:37:40 +01:00
fix: logprobs for Aphrodite
Since Aphrodite follows the same logprobs style as ooba, we can enable it easily.
This commit is contained in:
parent
3cf01e765a
commit
8af3939f09
@ -712,6 +712,7 @@ function parseTextgenLogprobs(token, logprobs) {
|
||||
}
|
||||
|
||||
switch (settings.type) {
|
||||
case APHRODITE:
|
||||
case OOBA: {
|
||||
/** @type {Record<string, number>[]} */
|
||||
const topLogprobs = logprobs.top_logprobs;
|
||||
|
Loading…
x
Reference in New Issue
Block a user