Skip to content

Commit 9683fc5

Browse files
fix: Update error message and remove duplicate version field (elizaOS#2445)
* Update index.ts * Update package.json --------- Co-authored-by: Sayo <hi@sayo.wtf>
1 parent eb140e0 commit 9683fc5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

agent/package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "@elizaos/agent",
33
"version": "0.1.9-alpha.1",
4-
"version": "0.1.9-alpha.1",
54
"main": "src/index.ts",
65
"type": "module",
76
"scripts": {
@@ -125,4 +124,4 @@
125124
"ts-node": "10.9.2",
126125
"tsup": "8.3.5"
127126
}
128-
}
127+
}

agent/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ export async function createAgent(
770770
// Validate TEE configuration
771771
if (teeMode !== TEEMode.OFF && !walletSecretSalt) {
772772
elizaLogger.error(
773-
"WALLET_SECRET_SALT required when TEE_MODE is enabled"
773+
"A WALLET_SECRET_SALT required when TEE_MODE is enabled"
774774
);
775775
throw new Error("Invalid TEE configuration");
776776
}

0 commit comments

Comments
 (0)