ide-assi 0.666.0 → 0.668.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.
@@ -203807,6 +203807,8 @@ console.log(el, href, title);
203807
203807
 
203808
203808
  generateWhereCause2 = async (xmlPath, queryId, userPrompt, apiKey) => {
203809
203809
 
203810
+ this.#createModel();
203811
+
203810
203812
  const res = await api.post("/api/source/query", {
203811
203813
  xmlPath: xmlPath,
203812
203814
  queryId: queryId
@@ -237612,7 +237614,7 @@ class aiNatualInput extends HTMLElement
237612
237614
 
237613
237615
  let params = {};
237614
237616
  if (this.#target.value) {
237615
- params = { "_whereClause": await ai.generateWhereCause2(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
237617
+ params = { "_whereClause": await this.#ai.generateWhereCause2(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
237616
237618
  }
237617
237619
 
237618
237620
  this.#selectFunc.call(this, params);
@@ -203803,6 +203803,8 @@ console.log(el, href, title);
203803
203803
 
203804
203804
  generateWhereCause2 = async (xmlPath, queryId, userPrompt, apiKey) => {
203805
203805
 
203806
+ this.#createModel();
203807
+
203806
203808
  const res = await api.post("/api/source/query", {
203807
203809
  xmlPath: xmlPath,
203808
203810
  queryId: queryId
@@ -237608,7 +237610,7 @@ class aiNatualInput extends HTMLElement
237608
237610
 
237609
237611
  let params = {};
237610
237612
  if (this.#target.value) {
237611
- params = { "_whereClause": await ai.generateWhereCause2(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
237613
+ params = { "_whereClause": await this.#ai.generateWhereCause2(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
237612
237614
  }
237613
237615
 
237614
237616
  this.#selectFunc.call(this, params);
@@ -37,7 +37,7 @@ class aiNatualInput extends HTMLElement
37
37
 
38
38
  let params = {};
39
39
  if (this.#target.value) {
40
- params = { "_whereClause": await ai.generateWhereCause2(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
40
+ params = { "_whereClause": await this.#ai.generateWhereCause2(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
41
41
  }
42
42
 
43
43
  this.#selectFunc.call(this, params);
@@ -1262,6 +1262,8 @@ console.log(el, href, title);
1262
1262
 
1263
1263
  generateWhereCause2 = async (xmlPath, queryId, userPrompt, apiKey) => {
1264
1264
 
1265
+ this.#createModel();
1266
+
1265
1267
  const res = await api.post("/api/source/query", {
1266
1268
  xmlPath: xmlPath,
1267
1269
  queryId: queryId
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.666.0",
4
+ "version": "0.668.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -37,7 +37,7 @@ class aiNatualInput extends HTMLElement
37
37
 
38
38
  let params = {};
39
39
  if (this.#target.value) {
40
- params = { "_whereClause": await ai.generateWhereCause2(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
40
+ params = { "_whereClause": await this.#ai.generateWhereCause2(this.#xmlPath, this.#queryId, this.#target.value, this.#apiKey) };
41
41
  }
42
42
 
43
43
  this.#selectFunc.call(this, params);
@@ -1262,6 +1262,8 @@ console.log(el, href, title);
1262
1262
 
1263
1263
  generateWhereCause2 = async (xmlPath, queryId, userPrompt, apiKey) => {
1264
1264
 
1265
+ this.#createModel();
1266
+
1265
1267
  const res = await api.post("/api/source/query", {
1266
1268
  xmlPath: xmlPath,
1267
1269
  queryId: queryId