l-min-components 1.7.1589 → 1.7.1591
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.
package/package.json
CHANGED
|
@@ -454,6 +454,13 @@ const quixSelectedModel = (response, aiData) => {
|
|
|
454
454
|
);
|
|
455
455
|
objectData["grammar"] = [findData];
|
|
456
456
|
}
|
|
457
|
+
if (aiData?.comprehension?.length && aiData?.comprehension) {
|
|
458
|
+
const attemptResp = aiData?.comprehension?.[0]?.attempt_data_batch?.[0];
|
|
459
|
+
|
|
460
|
+
if (attemptResp?.recording?.id === audioId || attemptResp?.id === audioId) {
|
|
461
|
+
objectData["comprehension"] = aiData?.comprehension;
|
|
462
|
+
}
|
|
463
|
+
}
|
|
457
464
|
|
|
458
465
|
return objectData;
|
|
459
466
|
};
|