Parse Tabby streaming error.
| @@ -996,7 +996,7 @@ function tryParseStreamingError(response, decoded) { | ||
| 996 | 996 | // No JSON. Do nothing. |
| 997 | 997 | } |
| 998 | 998 | |
| 999 | 999 | const message = data?.error?.message || data?.message || data?.detail; |
| 1000 | 1000 | |
| 1001 | 1001 | if (message) { |
| 1002 | 1002 | toastr.error(message, 'Text Completion API'); |