mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2024-12-15 02:47:16 +01:00
Merge pull request #1749 from AlpinDale/patch-2
This commit is contained in:
commit
354a6b76c7
@ -712,6 +712,7 @@ function parseTextgenLogprobs(token, logprobs) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch (settings.type) {
|
switch (settings.type) {
|
||||||
|
case APHRODITE:
|
||||||
case OOBA: {
|
case OOBA: {
|
||||||
/** @type {Record<string, number>[]} */
|
/** @type {Record<string, number>[]} */
|
||||||
const topLogprobs = logprobs.top_logprobs;
|
const topLogprobs = logprobs.top_logprobs;
|
||||||
|
Loading…
Reference in New Issue
Block a user