Merge pull request #1749 from AlpinDale/patch-2

This commit is contained in:
Cohee 2024-01-26 11:04:58 +02:00 committed by GitHub
commit 354a6b76c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -712,6 +712,7 @@ function parseTextgenLogprobs(token, logprobs) {
}
switch (settings.type) {
case APHRODITE:
case OOBA: {
/** @type {Record<string, number>[]} */
const topLogprobs = logprobs.top_logprobs;