Skip to content

Commit af0b94d

Browse files
committed
read TWITTER_SEARCH_ENABLE and set enableSearch on TwitterClients
1 parent 9d1a131 commit af0b94d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

agent/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@ export async function initializeClients(
335335
}
336336

337337
if (clientTypes.includes("twitter")) {
338+
TwitterClientInterface.enableSearch = getSecret(character, "TWITTER_SEARCH_ENABLE");
338339
const twitterClients = await TwitterClientInterface.start(runtime);
339340
clients.push(twitterClients);
340341
}

0 commit comments

Comments
 (0)