ide-assi 0.88.0 → 0.90.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 +10 -3
- package/dist/bundle.esm.js +10 -3
- package/dist/components/ideAi.js +10 -3
- package/package.json +1 -1
- package/src/components/ideAi.js +10 -3
package/dist/bundle.cjs.js
CHANGED
|
@@ -193480,10 +193480,17 @@ class IdeAi
|
|
|
193480
193480
|
new HumanMessage(prompt),
|
|
193481
193481
|
]);
|
|
193482
193482
|
|
|
193483
|
-
const
|
|
193484
|
-
|
|
193485
|
-
|
|
193483
|
+
const o = IdeUtils.extractResponse(response, this.#parent.settings.server);
|
|
193484
|
+
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
193485
|
+
if (o.result == "0") {
|
|
193486
|
+
return o.reason;
|
|
193487
|
+
}
|
|
193488
|
+
}
|
|
193489
|
+
else {
|
|
193490
|
+
return o;
|
|
193491
|
+
}
|
|
193486
193492
|
|
|
193493
|
+
return "OK";
|
|
193487
193494
|
}
|
|
193488
193495
|
}
|
|
193489
193496
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193476,10 +193476,17 @@ class IdeAi
|
|
|
193476
193476
|
new HumanMessage(prompt),
|
|
193477
193477
|
]);
|
|
193478
193478
|
|
|
193479
|
-
const
|
|
193480
|
-
|
|
193481
|
-
|
|
193479
|
+
const o = IdeUtils.extractResponse(response, this.#parent.settings.server);
|
|
193480
|
+
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
193481
|
+
if (o.result == "0") {
|
|
193482
|
+
return o.reason;
|
|
193483
|
+
}
|
|
193484
|
+
}
|
|
193485
|
+
else {
|
|
193486
|
+
return o;
|
|
193487
|
+
}
|
|
193482
193488
|
|
|
193489
|
+
return "OK";
|
|
193483
193490
|
}
|
|
193484
193491
|
}
|
|
193485
193492
|
|
package/dist/components/ideAi.js
CHANGED
|
@@ -185,10 +185,17 @@ export class IdeAi
|
|
|
185
185
|
new HumanMessage(prompt),
|
|
186
186
|
]);
|
|
187
187
|
|
|
188
|
-
const
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
const o = IdeUtils.extractResponse(response, this.#parent.settings.server);
|
|
189
|
+
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
190
|
+
if (o.result == "0") {
|
|
191
|
+
return o.reason;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
return o;
|
|
196
|
+
}
|
|
191
197
|
|
|
198
|
+
return "OK";
|
|
192
199
|
}
|
|
193
200
|
}
|
|
194
201
|
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -185,10 +185,17 @@ export class IdeAi
|
|
|
185
185
|
new HumanMessage(prompt),
|
|
186
186
|
]);
|
|
187
187
|
|
|
188
|
-
const
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
const o = IdeUtils.extractResponse(response, this.#parent.settings.server);
|
|
189
|
+
if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
|
|
190
|
+
if (o.result == "0") {
|
|
191
|
+
return o.reason;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
else {
|
|
195
|
+
return o;
|
|
196
|
+
}
|
|
191
197
|
|
|
198
|
+
return "OK";
|
|
192
199
|
}
|
|
193
200
|
}
|
|
194
201
|
|