Skip to content

Commit

Permalink
Merge pull request #1104 from ai16z/fix/starting_agent
Browse files Browse the repository at this point in the history
fix: add missing imports
  • Loading branch information
monilpat authored Dec 14, 2024
2 parents dd6a410 + 770cbb6 commit fbbc3c3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import {
AgentRuntime,
CacheManager,
Character,
Clients,
DbCacheAdapter,
defaultCharacter,
elizaLogger,
Expand Down Expand Up @@ -354,7 +355,9 @@ export async function initializeClients(
}

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

0 comments on commit fbbc3c3

Please sign in to comment.