@rh-support/troubleshoot 2.6.0 → 2.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -60,7 +60,7 @@ export const CaseSummary = (props) => {
|
|
|
60
60
|
if (error.message.includes('input comments text is too large')) {
|
|
61
61
|
setCaseSummaryState(CaseSummaryStates.INPUT_COMMENTS_TOO_LARGE);
|
|
62
62
|
}
|
|
63
|
-
else if (error.message.includes('
|
|
63
|
+
else if (error.message.includes('case summary is available in English')) {
|
|
64
64
|
setCaseSummaryState(CaseSummaryStates.CASE_LANGUAGE_NOT_SUPPORTED);
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
@@ -22,10 +22,10 @@ export function CaseSummaryErrorMessage(props) {
|
|
|
22
22
|
switch (props.caseSummaryState) {
|
|
23
23
|
case 'failed':
|
|
24
24
|
message =
|
|
25
|
-
'The AI is either currently unavailable or is processing case details
|
|
25
|
+
'The AI is either currently unavailable or is processing case details or try reloading the page.';
|
|
26
26
|
break;
|
|
27
27
|
case 'case_language_not_supported':
|
|
28
|
-
message =
|
|
28
|
+
message = `The AI case summary is available in English. We're working on adding more languages soon.`;
|
|
29
29
|
break;
|
|
30
30
|
case 'input_comments_too_large':
|
|
31
31
|
message = `${shared} overall input comments text is too large.`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rh-support/troubleshoot",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public",
|
|
6
6
|
"registry": "https://registry.npmjs.org"
|
|
@@ -134,5 +134,5 @@
|
|
|
134
134
|
"defaults and supports es6-module",
|
|
135
135
|
"maintained node versions"
|
|
136
136
|
],
|
|
137
|
-
"gitHead": "
|
|
137
|
+
"gitHead": "dd78c762c6cc0736eebf489233ce8e6a989b3c1e"
|
|
138
138
|
}
|