@strayl/agent 0.1.5 → 0.1.6

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/dist/agent.js +5 -0
  2. package/package.json +1 -1
package/dist/agent.js CHANGED
@@ -13545,6 +13545,11 @@ async function runAgent(config) {
13545
13545
  context.addUser(config.userMessage);
13546
13546
  } else {
13547
13547
  context.addSystem(systemPrompt);
13548
+ if (config.previousSummary) {
13549
+ context.addUser(`[Previous conversation summary]
13550
+ ${config.previousSummary}`);
13551
+ context.addAssistant("I understand the previous conversation context. I'll continue from where we left off.");
13552
+ }
13548
13553
  context.addUser(config.userMessage, config.images);
13549
13554
  }
13550
13555
  while (iteration < maxIterations) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@strayl/agent",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"