mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-09 08:38:53 +01:00
Parse Tabby streaming error.
This commit is contained in:
parent
42fa3c79d7
commit
7534e137ae
@ -996,7 +996,7 @@ function tryParseStreamingError(response, decoded) {
|
||||
// No JSON. Do nothing.
|
||||
}
|
||||
|
||||
const message = data?.error?.message || data?.message;
|
||||
const message = data?.error?.message || data?.message || data?.detail;
|
||||
|
||||
if (message) {
|
||||
toastr.error(message, 'Text Completion API');
|
||||
|
Loading…
x
Reference in New Issue
Block a user