ide-assi 0.17.0 → 0.19.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.
package/dist/bundle.cjs.js
CHANGED
|
@@ -193325,8 +193325,6 @@ class IdeAi
|
|
|
193325
193325
|
})
|
|
193326
193326
|
});
|
|
193327
193327
|
|
|
193328
|
-
//console.log(await response.json());
|
|
193329
|
-
|
|
193330
193328
|
return await response.json();
|
|
193331
193329
|
};
|
|
193332
193330
|
}
|
|
@@ -193415,10 +193413,12 @@ class IdeAssi extends HTMLElement
|
|
|
193415
193413
|
const elAiChat = this.shadowRoot.querySelector("nx-ai-chat");
|
|
193416
193414
|
|
|
193417
193415
|
elAiChat.add("me", question);
|
|
193418
|
-
elAiChat.add("ing",
|
|
193416
|
+
elAiChat.add("ing", "...");
|
|
193419
193417
|
|
|
193420
193418
|
try {
|
|
193421
|
-
this.#ai.generateSource(question);
|
|
193419
|
+
const r = await this.#ai.generateSource(question);
|
|
193420
|
+
console.log(r);
|
|
193421
|
+
|
|
193422
193422
|
} catch (error) {
|
|
193423
193423
|
console.error(error);
|
|
193424
193424
|
elAiChat.add("ai", error);
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193321,8 +193321,6 @@ class IdeAi
|
|
|
193321
193321
|
})
|
|
193322
193322
|
});
|
|
193323
193323
|
|
|
193324
|
-
//console.log(await response.json());
|
|
193325
|
-
|
|
193326
193324
|
return await response.json();
|
|
193327
193325
|
};
|
|
193328
193326
|
}
|
|
@@ -193411,10 +193409,12 @@ class IdeAssi extends HTMLElement
|
|
|
193411
193409
|
const elAiChat = this.shadowRoot.querySelector("nx-ai-chat");
|
|
193412
193410
|
|
|
193413
193411
|
elAiChat.add("me", question);
|
|
193414
|
-
elAiChat.add("ing",
|
|
193412
|
+
elAiChat.add("ing", "...");
|
|
193415
193413
|
|
|
193416
193414
|
try {
|
|
193417
|
-
this.#ai.generateSource(question);
|
|
193415
|
+
const r = await this.#ai.generateSource(question);
|
|
193416
|
+
console.log(r);
|
|
193417
|
+
|
|
193418
193418
|
} catch (error) {
|
|
193419
193419
|
console.error(error);
|
|
193420
193420
|
elAiChat.add("ai", error);
|
package/dist/components/ideAi.js
CHANGED
|
@@ -85,10 +85,12 @@ export class IdeAssi extends HTMLElement
|
|
|
85
85
|
const elAiChat = this.shadowRoot.querySelector("nx-ai-chat");
|
|
86
86
|
|
|
87
87
|
elAiChat.add("me", question);
|
|
88
|
-
elAiChat.add("ing",
|
|
88
|
+
elAiChat.add("ing", "...");
|
|
89
89
|
|
|
90
90
|
try {
|
|
91
|
-
this.#ai.generateSource(question);
|
|
91
|
+
const r = await this.#ai.generateSource(question);
|
|
92
|
+
console.log(r);
|
|
93
|
+
|
|
92
94
|
} catch (error) {
|
|
93
95
|
console.error(error);
|
|
94
96
|
elAiChat.add("ai", error);
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -85,10 +85,12 @@ export class IdeAssi extends HTMLElement
|
|
|
85
85
|
const elAiChat = this.shadowRoot.querySelector("nx-ai-chat");
|
|
86
86
|
|
|
87
87
|
elAiChat.add("me", question);
|
|
88
|
-
elAiChat.add("ing",
|
|
88
|
+
elAiChat.add("ing", "...");
|
|
89
89
|
|
|
90
90
|
try {
|
|
91
|
-
this.#ai.generateSource(question);
|
|
91
|
+
const r = await this.#ai.generateSource(question);
|
|
92
|
+
console.log(r);
|
|
93
|
+
|
|
92
94
|
} catch (error) {
|
|
93
95
|
console.error(error);
|
|
94
96
|
elAiChat.add("ai", error);
|