Parse Tabby streaming error.

7534e137aeaf47ed089a91d38ef8359788cbf428

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -1Showing whitespace changes
public/scripts/textgen-settings.js+1 -1
@@ -996,7 +996,7 @@ function tryParseStreamingError(response, decoded) {
996 // No JSON. Do nothing.996 // No JSON. Do nothing.
997 }997 }
998998
999 const message = data?.error?.message || data?.message;999 const message = data?.error?.message || data?.message || data?.detail;
10001000
1001 if (message) {1001 if (message) {
1002 toastr.error(message, 'Text Completion API');1002 toastr.error(message, 'Text Completion API');