-
Notifications
You must be signed in to change notification settings - Fork 580
Actions in EVM-plugins cannot be initiated when use twitter as client #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
checkout this if it solves- #68 |
Hi @wtfsayo, thanks for the reply. It does not resolve my issue. |
seem like testnet we have not defined for evm try with |
After some research on the source codes, I think I found the reason. In the Twitter client, every time the agent is about to reply to the twitter mentions, input has to go through "shouldRespond" check, the process will be stopped if For some reason, message including blockchain address info will ALWAYS be marked as "STOP", so the action cannot be initiated. If I use direct client, there is no such limitation, so there is no problem. I think the reason of feature in twitter client might be the Twitter message is for the public. But here is the problem, if I want to collect users' address info in twitter client and take any action like checking balance, there is no way doing it because any info including address info is considered "STOP". Do you have any suggestions on that? There might be a way to switch off this check? |
I created an agent based on eliza-starter and want to allow Twitter users to send transactions to EVM chains(specifically avalanche fuji). The workflow is that the user reply "please transfer 1 avax to address 0x1243 on avalanche fuji" under the account and the transfer transaction will be triggered on avalanche fuji.
If I use the direct client, the workflow runs perfectly. However, the transfer action cannot be triggered when I choose Twitter as client for my agent.
Can you help to check why the input from twitter client is ignored when action in evm-plugin is supposed to be triggered?
How to reproduce the issue:
pnpm install @elizaos/plugin-evm
.chains: { "evm": ["avalancheFuji"] }
to thecharacter.ts
undersettings
.clients: [Clients.TWITTER],
to thechracter.ts
.pnpm start
I can see the message received by checking the log but the action is not triggered, but the action can be initiated and AVAX is transferred successfully to the direct client. By saying direct client, I mean skip step 3, twitter is not used and everything works.
The text was updated successfully, but these errors were encountered: