@indra.ai/deva 1.1.84 → 1.1.85

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.
Files changed (2) hide show
  1. package/index.js +0 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -773,7 +773,6 @@ class Deva {
773
773
  packet.q.meta.hash = this.hash(packet.q);
774
774
 
775
775
  this.action(_action);
776
- this.talk(`${key}:question`, this.copy(packet)); // key question event make sure to copy data.
777
776
  this.talk(config.events.question, this.copy(packet)); // global question event make sure to copy data.
778
777
 
779
778
  if (isAsk) { // isAsk check if the question isAsk and talk
@@ -853,7 +852,6 @@ class Deva {
853
852
 
854
853
 
855
854
  this.action('answer_talk');
856
- this.talk(`${agent.key}:answer`, this.copy(packet)); // agent key answer event
857
855
  this.talk(config.events.answer, this.copy(packet)); // global talk event
858
856
 
859
857
  return resolve(this.copy(packet)); // resolve the packet to the caller.
@@ -920,7 +918,6 @@ class Deva {
920
918
  packet.a.text = result;
921
919
  }
922
920
  this.action('ask_answer');
923
- this.talk(`${agent.key}:answer`, this.copy(packet));
924
921
  this.talk(`${agent.key}:ask:${packet.id}`, packet);
925
922
  }).catch(err => {
926
923
  this.action('error');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@indra.ai/deva",
3
- "version": "1.1.84",
3
+ "version": "1.1.85",
4
4
  "description": "The Deva Core",
5
5
  "main": "index.js",
6
6
  "scripts": {