@eko-ai/eko 3.0.1-alpha.2 → 3.0.1-alpha.3

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.cjs.js CHANGED
@@ -32089,11 +32089,11 @@ async function getPlanSystemPrompt(context) {
32089
32089
  }
32090
32090
  agents_prompt +=
32091
32091
  `<agent name="${agent.Name}">\n` +
32092
- `Description: ${agent.PlanDescription || agent.Description}\n` +
32092
+ `Description: ${sub(agent.PlanDescription || agent.Description, 4000, true)}\n` +
32093
32093
  "Tools:\n" +
32094
32094
  tools
32095
32095
  .filter((tool) => !tool.noPlan)
32096
- .map((tool) => ` - ${tool.name}: ${tool.planDescription || tool.description || ""}`)
32096
+ .map((tool) => ` - ${tool.name}: ${sub(tool.planDescription || tool.description || "", 500, true)}`)
32097
32097
  .join("\n") +
32098
32098
  "\n</agent>\n\n";
32099
32099
  }