@eko-ai/eko 3.0.6-alpha.2 → 3.0.7

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/index.esm.js CHANGED
@@ -35483,6 +35483,10 @@ class Agent {
35483
35483
  const user_messages = [];
35484
35484
  const toolResults = [];
35485
35485
  // results = memory.removeDuplicateToolUse(results);
35486
+ messages.push({
35487
+ role: "assistant",
35488
+ content: results,
35489
+ });
35486
35490
  if (results.length == 0) {
35487
35491
  return null;
35488
35492
  }
@@ -35503,10 +35507,6 @@ class Agent {
35503
35507
  toolResults.push(toolResult);
35504
35508
  }
35505
35509
  }
35506
- messages.push({
35507
- role: "assistant",
35508
- content: results,
35509
- });
35510
35510
  if (toolResults.length > 0) {
35511
35511
  messages.push({
35512
35512
  role: "tool",