@ibiz-template-plugin/ai-chat 0.0.77 → 0.0.78

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/dist/index.es.js CHANGED
@@ -21255,6 +21255,8 @@ class Cc {
21255
21255
  try {
21256
21256
  const l = JSON.parse(a);
21257
21257
  l && l.choices && l.choices.length > 0 && (a = l.choices[0].content || a);
21258
+ } catch (l) {
21259
+ console.warn("Failed to parse tempContent as JSON", l);
21258
21260
  } finally {
21259
21261
  e.content = a;
21260
21262
  }