@elizaos/core 1.6.3-alpha.8 → 1.6.3-beta.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.
@@ -44975,8 +44975,8 @@ class AgentRuntime {
44975
44975
  const parentRunId = this.getCurrentRunId();
44976
44976
  const runId = this.createRunId();
44977
44977
  let actionPlan = null;
44978
+ const thought = responses[0]?.content?.thought || `Executing ${allActions.length} actions: ${allActions.join(", ")}`;
44978
44979
  if (hasMultipleActions) {
44979
- const thought = responses[0]?.content?.thought || `Executing ${allActions.length} actions: ${allActions.join(", ")}`;
44980
44980
  actionPlan = {
44981
44981
  runId,
44982
44982
  totalSteps: allActions.length,
@@ -45115,7 +45115,7 @@ class AgentRuntime {
45115
45115
  actionId,
45116
45116
  runId,
45117
45117
  type: "agent_action",
45118
- thought: actionPlan?.thought,
45118
+ thought,
45119
45119
  source: message.content?.source
45120
45120
  }
45121
45121
  });
@@ -45199,7 +45199,7 @@ class AgentRuntime {
45199
45199
  actionStatus: statusText,
45200
45200
  actionId,
45201
45201
  type: "agent_action",
45202
- thought: actionPlan?.thought,
45202
+ thought,
45203
45203
  actionResult,
45204
45204
  source: message.content?.source
45205
45205
  }
@@ -45340,6 +45340,10 @@ class AgentRuntime {
45340
45340
  }
45341
45341
  }
45342
45342
  }
45343
+ getActionResults(messageId) {
45344
+ const cachedState = this.stateCache?.get(`${messageId}_action_results`);
45345
+ return cachedState?.data?.actionResults || [];
45346
+ }
45343
45347
  async evaluate(message, state, didRespond, callback, responses) {
45344
45348
  try {
45345
45349
  const evaluatorPromises = this.evaluators.map(async (evaluator) => {
@@ -47750,5 +47754,5 @@ export {
47750
47754
  AgentRuntime
47751
47755
  };
47752
47756
 
47753
- //# debugId=577C4F575E2530C564756E2164756E21
47757
+ //# debugId=9B89E2D616BB564964756E2164756E21
47754
47758
  //# sourceMappingURL=index.node.js.map