ide-assi 0.14.0 → 0.16.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 +2 -2
- package/dist/bundle.esm.js +2 -2
- package/dist/components/ideAi.js +2 -2
- package/package.json +1 -1
- package/src/components/ideAi.js +2 -2
package/dist/bundle.cjs.js
CHANGED
|
@@ -193315,13 +193315,13 @@ class IdeAi
|
|
|
193315
193315
|
console.log(menus);
|
|
193316
193316
|
console.log(tables);
|
|
193317
193317
|
|
|
193318
|
-
const response = await fetch(`${
|
|
193318
|
+
const response = await fetch(`${this.#API_URL}/ai/generateSource`, {
|
|
193319
193319
|
method: "POST",
|
|
193320
193320
|
headers: { "Content-Type": "application/json" },
|
|
193321
193321
|
body: JSON.stringify({
|
|
193322
193322
|
question: question,
|
|
193323
193323
|
menus: menus,
|
|
193324
|
-
tables: tables,
|
|
193324
|
+
tables: tables.list,
|
|
193325
193325
|
})
|
|
193326
193326
|
});
|
|
193327
193327
|
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193311,13 +193311,13 @@ class IdeAi
|
|
|
193311
193311
|
console.log(menus);
|
|
193312
193312
|
console.log(tables);
|
|
193313
193313
|
|
|
193314
|
-
const response = await fetch(`${
|
|
193314
|
+
const response = await fetch(`${this.#API_URL}/ai/generateSource`, {
|
|
193315
193315
|
method: "POST",
|
|
193316
193316
|
headers: { "Content-Type": "application/json" },
|
|
193317
193317
|
body: JSON.stringify({
|
|
193318
193318
|
question: question,
|
|
193319
193319
|
menus: menus,
|
|
193320
|
-
tables: tables,
|
|
193320
|
+
tables: tables.list,
|
|
193321
193321
|
})
|
|
193322
193322
|
});
|
|
193323
193323
|
|
package/dist/components/ideAi.js
CHANGED
|
@@ -58,13 +58,13 @@ export class IdeAi
|
|
|
58
58
|
console.log(menus);
|
|
59
59
|
console.log(tables);
|
|
60
60
|
|
|
61
|
-
const response = await fetch(`${
|
|
61
|
+
const response = await fetch(`${this.#API_URL}/ai/generateSource`, {
|
|
62
62
|
method: "POST",
|
|
63
63
|
headers: { "Content-Type": "application/json" },
|
|
64
64
|
body: JSON.stringify({
|
|
65
65
|
question: question,
|
|
66
66
|
menus: menus,
|
|
67
|
-
tables: tables,
|
|
67
|
+
tables: tables.list,
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
70
|
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -58,13 +58,13 @@ export class IdeAi
|
|
|
58
58
|
console.log(menus);
|
|
59
59
|
console.log(tables);
|
|
60
60
|
|
|
61
|
-
const response = await fetch(`${
|
|
61
|
+
const response = await fetch(`${this.#API_URL}/ai/generateSource`, {
|
|
62
62
|
method: "POST",
|
|
63
63
|
headers: { "Content-Type": "application/json" },
|
|
64
64
|
body: JSON.stringify({
|
|
65
65
|
question: question,
|
|
66
66
|
menus: menus,
|
|
67
|
-
tables: tables,
|
|
67
|
+
tables: tables.list,
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
70
|
|