-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
chore: improving client typing #1036
chore: improving client typing #1036
Conversation
Yes, this is a good fix. Lets get this one merged. A gap on the Twitter client, when running multiple agents. |
Definitely some code improvements here but how does using config improve on just using a secret/settings in each runtime? |
@odilitime If i want to configure each twitter account to the each agent, then using a secret/settings may not resolve the issue. I configured in a way that if you didn't mentioned any config, it will take from secret/settings in each runtime or else it will take from config where custom credentials will loaded that helps you which account to load which specific client. |
@odilitime got it, Is this you are expecting, I didn't looked it this way. Yeah i think this instruction i didn't checked in docs. so i created new PR with config setup. I think you can discard my PR. If below code works
|
I like a lot of the work here, I may merge it and then take out the config stuff. You do excellent typescript work |
Thanks a lot @odilitime for appreciation, So current action item is
Is that true ? |
Yes. Also I like |
@odilitime If i remove config part, then i need to remove the So whats your opinion ? |
hrm I guess you're right, we don't need it currently and when I have a use I know where to copy the pattern from |
ok thanks, let me remove config and get the updated PR |
@@ -185,11 +185,13 @@ export class TwitterPostClient { | |||
} else { | |||
elizaLogger.log("Action processing loop disabled by configuration"); | |||
} | |||
generateNewTweetLoop(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added this piece of code, without this tweets won't generate into twitter
generateNewTweetLoop();
Note - Validate this piece of code, required or not
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I caught that and PR'd that earlier too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got it
Updated the PR @odilitime, Also I tried to pass the integration-test but getting issue of below error, even through i am using the node v23.3.0
More details - https://github.com/ai16z/eliza/actions/runs/12322163072/job/34395124357?pr=1036 |
Just has a conflict in pnpm-lock.yaml I can't resolve. See if you can fix that and we'll get this merged! |
…into 656--fix-twitter-multi-agent-support
@odilitime PR updated |
argh, more conflicts, sorry but I can't merge until those are resolved too |
…into 656--fix-twitter-multi-agent-support
Thanks a lot @odilitime |
Relates to:
#656
Risks
Medium
Background
What does this PR do?
Configured the multiple character agents with multiple twitter accounts, to run in parallel
What kind of change is this?
Bug fixes
Documentation changes needed?
Yes, twitter client related docs need changes, already added it
Testing
Where should a reviewer start?
Files to be reviewed:
Detailed testing steps