@ethosagent/core 0.3.11 → 0.4.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/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2058,8 +2058,8 @@ ${text}` : text;
|
|
|
2058
2058
|
if (injectionDefenseEnabled) {
|
|
2059
2059
|
systemParts.push(INJECTION_DEFENSE_PRELUDE);
|
|
2060
2060
|
}
|
|
2061
|
-
if (personality.
|
|
2062
|
-
const identity = await this.storage.read(personality.
|
|
2061
|
+
if (personality.soulFile && this.storage) {
|
|
2062
|
+
const identity = await this.storage.read(personality.soulFile);
|
|
2063
2063
|
if (identity) systemParts.push(identity.trim());
|
|
2064
2064
|
}
|
|
2065
2065
|
for (const injector of this.injectors) {
|