@elizaos/core 2.0.0-alpha.61 → 2.0.0-alpha.63
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/browser/index.browser.js +1 -1
- package/dist/browser/index.browser.js.map +2 -2
- package/dist/edge/index.edge.js.map +2 -2
- package/dist/node/index.node.js +12 -15
- package/dist/node/index.node.js.map +2 -2
- package/dist/packages/typescript/tsconfig.tsbuildinfo +1 -1
- package/dist/runtime.d.ts +1 -1
- package/dist/runtime.d.ts.map +1 -1
- package/dist/types/runtime.d.ts +1 -1
- package/dist/types/runtime.d.ts.map +1 -1
- package/package.json +2 -2
package/dist/node/index.node.js
CHANGED
|
@@ -73447,7 +73447,7 @@ var replyAction = {
|
|
|
73447
73447
|
}
|
|
73448
73448
|
const now = Date.now();
|
|
73449
73449
|
return {
|
|
73450
|
-
text:
|
|
73450
|
+
text: `Generated reply: ${responseContent.text}`,
|
|
73451
73451
|
values: {
|
|
73452
73452
|
success: true,
|
|
73453
73453
|
responded: true,
|
|
@@ -96313,20 +96313,17 @@ class AgentRuntime {
|
|
|
96313
96313
|
await callback(content);
|
|
96314
96314
|
}
|
|
96315
96315
|
}
|
|
96316
|
-
const
|
|
96317
|
-
|
|
96318
|
-
|
|
96319
|
-
|
|
96320
|
-
|
|
96321
|
-
|
|
96322
|
-
|
|
96323
|
-
|
|
96324
|
-
|
|
96325
|
-
|
|
96326
|
-
|
|
96327
|
-
};
|
|
96328
|
-
await this.createMemory(actionMemory, "messages");
|
|
96329
|
-
}
|
|
96316
|
+
const actionMemory = {
|
|
96317
|
+
id: actionId,
|
|
96318
|
+
entityId: this.agentId,
|
|
96319
|
+
roomId: message2.roomId,
|
|
96320
|
+
worldId: message2.worldId,
|
|
96321
|
+
content: {
|
|
96322
|
+
text: actionResult?.text || `Executed action: ${action.name}`,
|
|
96323
|
+
source: "action"
|
|
96324
|
+
}
|
|
96325
|
+
};
|
|
96326
|
+
await this.createMemory(actionMemory, "messages");
|
|
96330
96327
|
this.logger.debug({ src: "agent", agentId: this.agentId, action: action.name }, "Action completed");
|
|
96331
96328
|
const logResult = actionResult ? {
|
|
96332
96329
|
success: actionResult.success,
|