ide-assi 0.92.0 → 0.94.0

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.
@@ -193595,10 +193595,11 @@ class IdeAssi extends HTMLElement
193595
193595
 
193596
193596
  try {
193597
193597
  const r = await this.#ai.generateSourceClient(userPrompt);
193598
- //elAiChat.add("ai", r);
193598
+ elAiChat.add("ai", r);
193599
193599
  } catch (error) {
193600
+
193600
193601
  console.error(error);
193601
- elAiChat.add("ai", error);
193602
+ elAiChat.add("ai", String(error).replace("Error:", ""));
193602
193603
  }
193603
193604
 
193604
193605
  /**
@@ -193591,10 +193591,11 @@ class IdeAssi extends HTMLElement
193591
193591
 
193592
193592
  try {
193593
193593
  const r = await this.#ai.generateSourceClient(userPrompt);
193594
- //elAiChat.add("ai", r);
193594
+ elAiChat.add("ai", r);
193595
193595
  } catch (error) {
193596
+
193596
193597
  console.error(error);
193597
- elAiChat.add("ai", error);
193598
+ elAiChat.add("ai", String(error).replace("Error:", ""));
193598
193599
  }
193599
193600
 
193600
193601
  /**
@@ -94,10 +94,11 @@ export class IdeAssi extends HTMLElement
94
94
 
95
95
  try {
96
96
  const r = await this.#ai.generateSourceClient(userPrompt);
97
- //elAiChat.add("ai", r);
97
+ elAiChat.add("ai", r);
98
98
  } catch (error) {
99
+
99
100
  console.error(error);
100
- elAiChat.add("ai", error);
101
+ elAiChat.add("ai", String(error).replace("Error:", ""));
101
102
  }
102
103
 
103
104
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.92.0",
4
+ "version": "0.94.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -94,10 +94,11 @@ export class IdeAssi extends HTMLElement
94
94
 
95
95
  try {
96
96
  const r = await this.#ai.generateSourceClient(userPrompt);
97
- //elAiChat.add("ai", r);
97
+ elAiChat.add("ai", r);
98
98
  } catch (error) {
99
+
99
100
  console.error(error);
100
- elAiChat.add("ai", error);
101
+ elAiChat.add("ai", String(error).replace("Error:", ""));
101
102
  }
102
103
 
103
104
  /**