mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-20 21:41:32 +01:00
#1891 Fix JWT Scale generation
This commit is contained in:
parent
24b33a5f77
commit
dc32884ced
@ -4534,6 +4534,10 @@ function parseAndSaveLogprobs(data, continueFrom) {
|
||||
* @returns {string} Extracted message
|
||||
*/
|
||||
function extractMessageFromData(data) {
|
||||
if (typeof data === 'string') {
|
||||
return data;
|
||||
}
|
||||
|
||||
switch (main_api) {
|
||||
case 'kobold':
|
||||
return data.results[0].text;
|
||||
|
Loading…
Reference in New Issue
Block a user