Skip to content

Commit ee4db04

Browse files
committed
fix missing
1 parent 6cab7ef commit ee4db04

File tree

2 files changed

+3290
-291
lines changed

2 files changed

+3290
-291
lines changed

agent/src/index.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import {
1010
AgentRuntime,
1111
CacheManager,
1212
Character,
13+
Clients,
1314
DbCacheAdapter,
1415
defaultCharacter,
1516
elizaLogger,
@@ -354,7 +355,9 @@ export async function initializeClients(
354355
}
355356

356357
if (clientTypes.includes(Clients.TWITTER)) {
357-
TwitterClientInterface.enableSearch = !isFalsish(getSecret(character, "TWITTER_SEARCH_ENABLE"));
358+
TwitterClientInterface.enableSearch = !isFalsish(
359+
getSecret(character, "TWITTER_SEARCH_ENABLE")
360+
);
358361
const twitterClient = await TwitterClientInterface.start(runtime);
359362
// TODO: This might be incorrect, please test if you are concerned about this functionality
360363
// By default we have disabled this because it is annoying for users

0 commit comments

Comments
 (0)