ide-assi 0.263.0 → 0.265.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.
@@ -193603,12 +193603,15 @@ class IdeAi
193603
193603
  #invoke = async (path, params) => {
193604
193604
  const prompt = await IdeUtils.generatePrompt(path, params);
193605
193605
 
193606
+
193606
193607
  try {
193607
193608
  const response = await this.#model.invoke([
193608
193609
  //new SystemMessage(systemMessage),
193609
193610
  new HumanMessage(prompt),
193610
193611
  ]);
193611
193612
 
193613
+ console.log("=======", response);
193614
+
193612
193615
  return IdeUtils.extractResponse(response, this.#parent.settings.server);
193613
193616
  }
193614
193617
  catch (error) {
@@ -193620,8 +193623,6 @@ class IdeAi
193620
193623
  #what = async (userPrompt) => {
193621
193624
  const o = await this.#invoke('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
193622
193625
 
193623
- console.log(o);
193624
-
193625
193626
  if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
193626
193627
  if (o.result === "0") throw new Error(o.reason);
193627
193628
  }
@@ -193599,12 +193599,15 @@ class IdeAi
193599
193599
  #invoke = async (path, params) => {
193600
193600
  const prompt = await IdeUtils.generatePrompt(path, params);
193601
193601
 
193602
+
193602
193603
  try {
193603
193604
  const response = await this.#model.invoke([
193604
193605
  //new SystemMessage(systemMessage),
193605
193606
  new HumanMessage(prompt),
193606
193607
  ]);
193607
193608
 
193609
+ console.log("=======", response);
193610
+
193608
193611
  return IdeUtils.extractResponse(response, this.#parent.settings.server);
193609
193612
  }
193610
193613
  catch (error) {
@@ -193616,8 +193619,6 @@ class IdeAi
193616
193619
  #what = async (userPrompt) => {
193617
193620
  const o = await this.#invoke('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
193618
193621
 
193619
- console.log(o);
193620
-
193621
193622
  if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
193622
193623
  if (o.result === "0") throw new Error(o.reason);
193623
193624
  }
@@ -187,12 +187,15 @@ export class IdeAi
187
187
  #invoke = async (path, params) => {
188
188
  const prompt = await IdeUtils.generatePrompt(path, params);
189
189
 
190
+
190
191
  try {
191
192
  const response = await this.#model.invoke([
192
193
  //new SystemMessage(systemMessage),
193
194
  new HumanMessage(prompt),
194
195
  ]);
195
196
 
197
+ console.log("=======", response);
198
+
196
199
  return IdeUtils.extractResponse(response, this.#parent.settings.server);
197
200
  }
198
201
  catch (error) {
@@ -204,8 +207,6 @@ export class IdeAi
204
207
  #what = async (userPrompt) => {
205
208
  const o = await this.#invoke('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
206
209
 
207
- console.log(o);
208
-
209
210
  if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
210
211
  if (o.result === "0") throw new Error(o.reason);
211
212
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ide-assi",
3
3
  "type": "module",
4
- "version": "0.263.0",
4
+ "version": "0.265.0",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "exports": {
@@ -187,12 +187,15 @@ export class IdeAi
187
187
  #invoke = async (path, params) => {
188
188
  const prompt = await IdeUtils.generatePrompt(path, params);
189
189
 
190
+
190
191
  try {
191
192
  const response = await this.#model.invoke([
192
193
  //new SystemMessage(systemMessage),
193
194
  new HumanMessage(prompt),
194
195
  ]);
195
196
 
197
+ console.log("=======", response);
198
+
196
199
  return IdeUtils.extractResponse(response, this.#parent.settings.server);
197
200
  }
198
201
  catch (error) {
@@ -204,8 +207,6 @@ export class IdeAi
204
207
  #what = async (userPrompt) => {
205
208
  const o = await this.#invoke('/prompts/meta/개발액션분류.txt', { "userPrompt": userPrompt });
206
209
 
207
- console.log(o);
208
-
209
210
  if (Object.prototype.toString.call(o) === "[object Object]" && o.hasOwnProperty("result")) {
210
211
  if (o.result === "0") throw new Error(o.reason);
211
212
  }