@elizaos/core 1.0.20 → 1.1.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.
@@ -3671,24 +3671,6 @@ var AgentRuntime = class {
3671
3671
  timestamp: Date.now()
3672
3672
  });
3673
3673
  }
3674
- await this.adapter.log({
3675
- entityId: this.agentId,
3676
- roomId: this.agentId,
3677
- body: {
3678
- modelType,
3679
- modelKey,
3680
- prompt: promptContent,
3681
- runId: this.getCurrentRunId(),
3682
- timestamp: Date.now(),
3683
- executionTime: elapsedTime,
3684
- provider: provider || this.models.get(modelKey)?.[0]?.provider || "unknown",
3685
- actionContext: this.currentActionContext ? {
3686
- actionName: this.currentActionContext.actionName,
3687
- actionId: this.currentActionContext.actionId
3688
- } : void 0
3689
- },
3690
- type: `prompt:${modelKey}`
3691
- });
3692
3674
  }
3693
3675
  this.adapter.log({
3694
3676
  entityId: this.agentId,
@@ -3700,6 +3682,15 @@ var AgentRuntime = class {
3700
3682
  ...typeof params === "object" && !Array.isArray(params) && params ? params : {},
3701
3683
  prompt: promptContent
3702
3684
  },
3685
+ prompt: promptContent,
3686
+ runId: this.getCurrentRunId(),
3687
+ timestamp: Date.now(),
3688
+ executionTime: elapsedTime,
3689
+ provider: provider || this.models.get(modelKey)?.[0]?.provider || "unknown",
3690
+ actionContext: this.currentActionContext ? {
3691
+ actionName: this.currentActionContext.actionName,
3692
+ actionId: this.currentActionContext.actionId
3693
+ } : void 0,
3703
3694
  response: Array.isArray(response) && response.every((x) => typeof x === "number") ? "[array]" : response
3704
3695
  },
3705
3696
  type: `useModel:${modelKey}`
package/dist/index.js CHANGED
@@ -94,7 +94,7 @@ import {
94
94
  v2_exports,
95
95
  validateCharacter,
96
96
  validateUuid
97
- } from "./chunk-WZ3GLSAN.js";
97
+ } from "./chunk-6DHKYLYG.js";
98
98
  import "./chunk-2HSL25IJ.js";
99
99
  import "./chunk-WO7Z3GE6.js";
100
100
  import "./chunk-U2ADTLZY.js";
@@ -7,7 +7,7 @@ import {
7
7
  formatTimestamp3 as formatTimestamp,
8
8
  generateUuidFromString,
9
9
  getActorDetails
10
- } from "../../chunk-WZ3GLSAN.js";
10
+ } from "../../chunk-6DHKYLYG.js";
11
11
  import {
12
12
  createTemplateFunction,
13
13
  getTemplateValues,
@@ -3,7 +3,7 @@ import {
3
3
  formatMessages3 as formatMessages,
4
4
  formatTimestamp3 as formatTimestamp,
5
5
  getActorDetails
6
- } from "../../chunk-WZ3GLSAN.js";
6
+ } from "../../chunk-6DHKYLYG.js";
7
7
  import "../../chunk-2HSL25IJ.js";
8
8
  import "../../chunk-WO7Z3GE6.js";
9
9
  import "../../chunk-U2ADTLZY.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  formatPosts3 as formatPosts
3
- } from "../../chunk-WZ3GLSAN.js";
3
+ } from "../../chunk-6DHKYLYG.js";
4
4
  import "../../chunk-2HSL25IJ.js";
5
5
  import "../../chunk-WO7Z3GE6.js";
6
6
  import "../../chunk-U2ADTLZY.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  AgentRuntime3 as AgentRuntime
3
- } from "../../chunk-WZ3GLSAN.js";
3
+ } from "../../chunk-6DHKYLYG.js";
4
4
  import "../../chunk-2HSL25IJ.js";
5
5
  import "../../chunk-WO7Z3GE6.js";
6
6
  import "../../chunk-U2ADTLZY.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  asUUID3 as asUUID,
3
3
  generateUuidFromString
4
- } from "../../chunk-WZ3GLSAN.js";
4
+ } from "../../chunk-6DHKYLYG.js";
5
5
  import "../../chunk-2HSL25IJ.js";
6
6
  import "../../chunk-WO7Z3GE6.js";
7
7
  import "../../chunk-U2ADTLZY.js";
@@ -78,7 +78,7 @@ import {
78
78
  unsaltWorldSettings2 as unsaltWorldSettings,
79
79
  updateWorldSettings2 as updateWorldSettings,
80
80
  validateUuid2 as validateUuid
81
- } from "../../chunk-WZ3GLSAN.js";
81
+ } from "../../chunk-6DHKYLYG.js";
82
82
  import "../../chunk-2HSL25IJ.js";
83
83
  import "../../chunk-WO7Z3GE6.js";
84
84
  import "../../chunk-U2ADTLZY.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/core",
3
- "version": "1.0.20",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -75,5 +75,5 @@
75
75
  "publishConfig": {
76
76
  "access": "public"
77
77
  },
78
- "gitHead": "627eaabb9a325876f8502a462aa00d0af234ff26"
78
+ "gitHead": "d8fc722409fb26eea872a370d844543a9441d442"
79
79
  }