Skip to content
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

Issue with Controlling Reply Length and Single Tweet Format #3588

Open
kent-neo opened this issue Feb 19, 2025 · 0 comments
Open

Issue with Controlling Reply Length and Single Tweet Format #3588

kent-neo opened this issue Feb 19, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@kent-neo
Copy link

Is your feature request related to a problem? Please describe.

I am using Eliza to interact with target users on Twitter, and every time I reply to a comment, the response is split into a 2-3 tweet thread. I see in the code that the reply content is automatically split into multiple tweets if it exceeds 280 characters.

I have tried adjusting the OPENAI_MAX_TOKENS=65 configuration in OpenAI, but it doesn’t seem to solve the problem.

Describe the solution you'd like

Is there a parameter or setting to limit the reply content to a maximum of 280 characters, so that it doesn’t get split into multiple tweets?

Describe alternatives you've considered

For paid users, a single tweet can exceed 280 characters. Is there any other way to ensure the reply stays as a single tweet, aside from modifying the 280-character limit in the code?

Additional context

OPENAI_MAX_TOKENS=65

@kent-neo kent-neo added the enhancement New feature or request label Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant