ide-assi 0.698.0 → 0.699.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
|
@@ -202488,15 +202488,12 @@ class IdeUtils
|
|
|
202488
202488
|
|
|
202489
202489
|
if (!Array.isArray(paths)) paths = [paths];
|
|
202490
202490
|
|
|
202491
|
-
let template = ""
|
|
202491
|
+
let template = "";
|
|
202492
202492
|
|
|
202493
202493
|
for (let path of paths) {
|
|
202494
|
-
//console.log(path);
|
|
202495
202494
|
template += await fetch(path).then(res => res.text());
|
|
202496
202495
|
}
|
|
202497
202496
|
|
|
202498
|
-
console.log(template);
|
|
202499
|
-
|
|
202500
202497
|
return await new PromptTemplate({
|
|
202501
202498
|
template,
|
|
202502
202499
|
inputVariables: Object.keys(params),
|
|
@@ -202718,6 +202715,7 @@ class IdeAi
|
|
|
202718
202715
|
#invoke = async (path, params) => {
|
|
202719
202716
|
|
|
202720
202717
|
const prompt = await IdeUtils.generatePrompt(path, params);
|
|
202718
|
+
console.log(prompt);
|
|
202721
202719
|
|
|
202722
202720
|
try {
|
|
202723
202721
|
const response = await this.#model.invoke([
|
package/dist/bundle.esm.js
CHANGED
|
@@ -202484,15 +202484,12 @@ class IdeUtils
|
|
|
202484
202484
|
|
|
202485
202485
|
if (!Array.isArray(paths)) paths = [paths];
|
|
202486
202486
|
|
|
202487
|
-
let template = ""
|
|
202487
|
+
let template = "";
|
|
202488
202488
|
|
|
202489
202489
|
for (let path of paths) {
|
|
202490
|
-
//console.log(path);
|
|
202491
202490
|
template += await fetch(path).then(res => res.text());
|
|
202492
202491
|
}
|
|
202493
202492
|
|
|
202494
|
-
console.log(template);
|
|
202495
|
-
|
|
202496
202493
|
return await new PromptTemplate({
|
|
202497
202494
|
template,
|
|
202498
202495
|
inputVariables: Object.keys(params),
|
|
@@ -202714,6 +202711,7 @@ class IdeAi
|
|
|
202714
202711
|
#invoke = async (path, params) => {
|
|
202715
202712
|
|
|
202716
202713
|
const prompt = await IdeUtils.generatePrompt(path, params);
|
|
202714
|
+
console.log(prompt);
|
|
202717
202715
|
|
|
202718
202716
|
try {
|
|
202719
202717
|
const response = await this.#model.invoke([
|
package/dist/components/ideAi.js
CHANGED
|
@@ -10,15 +10,12 @@ export class IdeUtils
|
|
|
10
10
|
|
|
11
11
|
if (!Array.isArray(paths)) paths = [paths];
|
|
12
12
|
|
|
13
|
-
let template = ""
|
|
13
|
+
let template = "";
|
|
14
14
|
|
|
15
15
|
for (let path of paths) {
|
|
16
|
-
//console.log(path);
|
|
17
16
|
template += await fetch(path).then(res => res.text());
|
|
18
17
|
}
|
|
19
18
|
|
|
20
|
-
console.log(template);
|
|
21
|
-
|
|
22
19
|
return await new PromptTemplate({
|
|
23
20
|
template,
|
|
24
21
|
inputVariables: Object.keys(params),
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -10,15 +10,12 @@ export class IdeUtils
|
|
|
10
10
|
|
|
11
11
|
if (!Array.isArray(paths)) paths = [paths];
|
|
12
12
|
|
|
13
|
-
let template = ""
|
|
13
|
+
let template = "";
|
|
14
14
|
|
|
15
15
|
for (let path of paths) {
|
|
16
|
-
//console.log(path);
|
|
17
16
|
template += await fetch(path).then(res => res.text());
|
|
18
17
|
}
|
|
19
18
|
|
|
20
|
-
console.log(template);
|
|
21
|
-
|
|
22
19
|
return await new PromptTemplate({
|
|
23
20
|
template,
|
|
24
21
|
inputVariables: Object.keys(params),
|