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