@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.
- package/dist/{chunk-WZ3GLSAN.js → chunk-6DHKYLYG.js} +9 -18
- package/dist/index.js +1 -1
- package/dist/specs/v1/index.js +1 -1
- package/dist/specs/v1/messages.js +1 -1
- package/dist/specs/v1/posts.js +1 -1
- package/dist/specs/v1/runtime.js +1 -1
- package/dist/specs/v1/uuid.js +1 -1
- package/dist/specs/v2/index.js +1 -1
- package/package.json +2 -2
|
@@ -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
package/dist/specs/v1/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
formatMessages3 as formatMessages,
|
|
4
4
|
formatTimestamp3 as formatTimestamp,
|
|
5
5
|
getActorDetails
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-6DHKYLYG.js";
|
|
7
7
|
import "../../chunk-2HSL25IJ.js";
|
|
8
8
|
import "../../chunk-WO7Z3GE6.js";
|
|
9
9
|
import "../../chunk-U2ADTLZY.js";
|
package/dist/specs/v1/posts.js
CHANGED
package/dist/specs/v1/runtime.js
CHANGED
package/dist/specs/v1/uuid.js
CHANGED
package/dist/specs/v2/index.js
CHANGED
|
@@ -78,7 +78,7 @@ import {
|
|
|
78
78
|
unsaltWorldSettings2 as unsaltWorldSettings,
|
|
79
79
|
updateWorldSettings2 as updateWorldSettings,
|
|
80
80
|
validateUuid2 as validateUuid
|
|
81
|
-
} from "../../chunk-
|
|
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
|
|
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": "
|
|
78
|
+
"gitHead": "d8fc722409fb26eea872a370d844543a9441d442"
|
|
79
79
|
}
|