ide-assi 0.84.0 → 0.86.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.
@@ -193457,21 +193457,15 @@ class IdeAi
193457
193457
 
193458
193458
  this.#createModel();
193459
193459
 
193460
- console.log(this.#model);
193461
-
193462
193460
  const systemMessage = "You are a helpful assistant.";
193463
193461
  const prompt = await IdeAiPrompt.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
193464
193462
 
193465
- //const prompt = await IdeAiPrompt.getDevelopActionClassification(userPrompt);
193466
- //console.log(prompt);
193467
-
193468
- await this.#model.invoke([
193463
+ const response = await this.#model.invoke([
193469
193464
  new SystemMessage(systemMessage),
193470
193465
  new HumanMessage(prompt),
193471
193466
  ]);
193472
193467
 
193473
- //console.log(response);
193474
-
193468
+ console.log(response);
193475
193469
  }
193476
193470
  }
193477
193471
 
@@ -193570,6 +193564,7 @@ class IdeAssi extends HTMLElement
193570
193564
  //this.#createModel();
193571
193565
 
193572
193566
  const r = await this.#ai.generateSourceClient(userPrompt);
193567
+ elAiChat.add("ai", r);
193573
193568
 
193574
193569
  /**
193575
193570
  const r = await this.#ai.generateSource(userPrompt);
@@ -193453,21 +193453,15 @@ class IdeAi
193453
193453
 
193454
193454
  this.#createModel();
193455
193455
 
193456
- console.log(this.#model);
193457
-
193458
193456
  const systemMessage = "You are a helpful assistant.";
193459
193457
  const prompt = await IdeAiPrompt.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
193460
193458
 
193461
- //const prompt = await IdeAiPrompt.getDevelopActionClassification(userPrompt);
193462
- //console.log(prompt);
193463
-
193464
- await this.#model.invoke([
193459
+ const response = await this.#model.invoke([
193465
193460
  new SystemMessage(systemMessage),
193466
193461
  new HumanMessage(prompt),
193467
193462
  ]);
193468
193463
 
193469
- //console.log(response);
193470
-
193464
+ console.log(response);
193471
193465
  }
193472
193466
  }
193473
193467
 
@@ -193566,6 +193560,7 @@ class IdeAssi extends HTMLElement
193566
193560
  //this.#createModel();
193567
193561
 
193568
193562
  const r = await this.#ai.generateSourceClient(userPrompt);
193563
+ elAiChat.add("ai", r);
193569
193564
 
193570
193565
  /**
193571
193566
  const r = await this.#ai.generateSource(userPrompt);
@@ -177,21 +177,15 @@ export class IdeAi
177
177
 
178
178
  this.#createModel();
179
179
 
180
- console.log(this.#model);
181
-
182
180
  const systemMessage = "You are a helpful assistant.";
183
181
  const prompt = await IdeAiPrompt.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
184
182
 
185
- //const prompt = await IdeAiPrompt.getDevelopActionClassification(userPrompt);
186
- //console.log(prompt);
187
-
188
183
  const response = await this.#model.invoke([
189
184
  new SystemMessage(systemMessage),
190
185
  new HumanMessage(prompt),
191
186
  ]);
192
187
 
193
- //console.log(response);
194
-
188
+ console.log(response);
195
189
  }
196
190
  }
197
191
 
@@ -96,6 +96,7 @@ export class IdeAssi extends HTMLElement
96
96
  //this.#createModel();
97
97
 
98
98
  const r = await this.#ai.generateSourceClient(userPrompt);
99
+ elAiChat.add("ai", r);
99
100
 
100
101
  /**
101
102
  const r = await this.#ai.generateSource(userPrompt);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.84.0",
4
+ "version": "0.86.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -177,21 +177,15 @@ export class IdeAi
177
177
 
178
178
  this.#createModel();
179
179
 
180
- console.log(this.#model);
181
-
182
180
  const systemMessage = "You are a helpful assistant.";
183
181
  const prompt = await IdeAiPrompt.generatePrompt('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
184
182
 
185
- //const prompt = await IdeAiPrompt.getDevelopActionClassification(userPrompt);
186
- //console.log(prompt);
187
-
188
183
  const response = await this.#model.invoke([
189
184
  new SystemMessage(systemMessage),
190
185
  new HumanMessage(prompt),
191
186
  ]);
192
187
 
193
- //console.log(response);
194
-
188
+ console.log(response);
195
189
  }
196
190
  }
197
191
 
@@ -96,6 +96,7 @@ export class IdeAssi extends HTMLElement
96
96
  //this.#createModel();
97
97
 
98
98
  const r = await this.#ai.generateSourceClient(userPrompt);
99
+ elAiChat.add("ai", r);
99
100
 
100
101
  /**
101
102
  const r = await this.#ai.generateSource(userPrompt);