diff --git a/packages/client-twitter/src/interactions.ts b/packages/client-twitter/src/interactions.ts index 1a069b6273..bd71684bf4 100644 --- a/packages/client-twitter/src/interactions.ts +++ b/packages/client-twitter/src/interactions.ts @@ -398,9 +398,7 @@ export class TwitterInteractionClient { const shouldRespondContext = composeContext({ state, template: - this.runtime.character.templates?.twitterShouldRespondTemplate?.( - validTargetUsersStr - ) || + this.runtime.character.templates?.twitterShouldRespondTemplate || this.runtime.character?.templates?.shouldRespondTemplate || twitterShouldRespondTemplate(validTargetUsersStr), });