Skip to content

Commit fbbc3c3

Browse files
authored
Merge pull request #1104 from ai16z/fix/starting_agent
fix: add missing imports
2 parents dd6a410 + 770cbb6 commit fbbc3c3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
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)