ide-assi 0.292.0 → 0.294.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 +3 -3
- package/dist/bundle.esm.js +3 -3
- package/dist/components/ideAi.js +3 -1
- package/package.json +1 -1
- package/src/components/ideAi.js +3 -1
package/dist/bundle.cjs.js
CHANGED
|
@@ -193608,6 +193608,8 @@ class IdeAi
|
|
|
193608
193608
|
#invoke = async (path, params) => {
|
|
193609
193609
|
const prompt = await IdeUtils.generatePrompt(path, params);
|
|
193610
193610
|
|
|
193611
|
+
console.log(prompt);
|
|
193612
|
+
|
|
193611
193613
|
try {
|
|
193612
193614
|
const response = await this.#model.invoke([
|
|
193613
193615
|
//new SystemMessage(systemMessage),
|
|
@@ -193935,9 +193937,7 @@ class IdeAi
|
|
|
193935
193937
|
this.#parent.addMessage("명령을 이해했습니다.");
|
|
193936
193938
|
|
|
193937
193939
|
if (what === "1") {
|
|
193938
|
-
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript)
|
|
193939
|
-
return "소스 생성하실려면 변경대상 소스를 모두 선택하세요.";
|
|
193940
|
-
}
|
|
193940
|
+
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript) ;
|
|
193941
193941
|
//await this.#createSource(userPrompt, apply);
|
|
193942
193942
|
await this.#modifySource(userPrompt, apply);
|
|
193943
193943
|
}
|
package/dist/bundle.esm.js
CHANGED
|
@@ -193604,6 +193604,8 @@ class IdeAi
|
|
|
193604
193604
|
#invoke = async (path, params) => {
|
|
193605
193605
|
const prompt = await IdeUtils.generatePrompt(path, params);
|
|
193606
193606
|
|
|
193607
|
+
console.log(prompt);
|
|
193608
|
+
|
|
193607
193609
|
try {
|
|
193608
193610
|
const response = await this.#model.invoke([
|
|
193609
193611
|
//new SystemMessage(systemMessage),
|
|
@@ -193931,9 +193933,7 @@ class IdeAi
|
|
|
193931
193933
|
this.#parent.addMessage("명령을 이해했습니다.");
|
|
193932
193934
|
|
|
193933
193935
|
if (what === "1") {
|
|
193934
|
-
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript)
|
|
193935
|
-
return "소스 생성하실려면 변경대상 소스를 모두 선택하세요.";
|
|
193936
|
-
}
|
|
193936
|
+
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript) ;
|
|
193937
193937
|
//await this.#createSource(userPrompt, apply);
|
|
193938
193938
|
await this.#modifySource(userPrompt, apply);
|
|
193939
193939
|
}
|
package/dist/components/ideAi.js
CHANGED
|
@@ -189,6 +189,8 @@ export class IdeAi
|
|
|
189
189
|
#invoke = async (path, params) => {
|
|
190
190
|
const prompt = await IdeUtils.generatePrompt(path, params);
|
|
191
191
|
|
|
192
|
+
console.log(prompt);
|
|
193
|
+
|
|
192
194
|
try {
|
|
193
195
|
const response = await this.#model.invoke([
|
|
194
196
|
//new SystemMessage(systemMessage),
|
|
@@ -519,7 +521,7 @@ export class IdeAi
|
|
|
519
521
|
|
|
520
522
|
if (what === "1") {
|
|
521
523
|
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript) {
|
|
522
|
-
return "소스 생성하실려면 변경대상 소스를 모두 선택하세요.";
|
|
524
|
+
//return "소스 생성하실려면 변경대상 소스를 모두 선택하세요.";
|
|
523
525
|
}
|
|
524
526
|
//await this.#createSource(userPrompt, apply);
|
|
525
527
|
await this.#modifySource(userPrompt, apply);
|
package/package.json
CHANGED
package/src/components/ideAi.js
CHANGED
|
@@ -189,6 +189,8 @@ export class IdeAi
|
|
|
189
189
|
#invoke = async (path, params) => {
|
|
190
190
|
const prompt = await IdeUtils.generatePrompt(path, params);
|
|
191
191
|
|
|
192
|
+
console.log(prompt);
|
|
193
|
+
|
|
192
194
|
try {
|
|
193
195
|
const response = await this.#model.invoke([
|
|
194
196
|
//new SystemMessage(systemMessage),
|
|
@@ -519,7 +521,7 @@ export class IdeAi
|
|
|
519
521
|
|
|
520
522
|
if (what === "1") {
|
|
521
523
|
if (!apply.mybatis || !apply.service || !apply.controller || !apply.javascript) {
|
|
522
|
-
return "소스 생성하실려면 변경대상 소스를 모두 선택하세요.";
|
|
524
|
+
//return "소스 생성하실려면 변경대상 소스를 모두 선택하세요.";
|
|
523
525
|
}
|
|
524
526
|
//await this.#createSource(userPrompt, apply);
|
|
525
527
|
await this.#modifySource(userPrompt, apply);
|