Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

{{maxTweetLength}} doesn't work in tweet post template #2927

Closed
LinuxIsCool opened this issue Jan 28, 2025 · 1 comment
Closed

{{maxTweetLength}} doesn't work in tweet post template #2927

LinuxIsCool opened this issue Jan 28, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@LinuxIsCool
Copy link
Contributor

The template tag {{maxTweetLength}} doesn't exist.

Your response should not contain any questions. Brief, concise statements only. The total character count MUST be less than {{maxTweetLength}}. No emojis. Use \\n\\n (double spaces) between statements if there are multiple statements in your response.`;

Maybe it would be nice to pass custom inputs into composeContext:

const context = composeContext({

Or perhaps just populate the maxTweetLength in the template directly in this case before sending to composeContext?

There might be an obvious simple fix for this in alignment with Eliza architecture that I'm not seeing. Would love to learn from more experienced devs the correct way to fix this simple issue.

@tcm390
Copy link
Collaborator

tcm390 commented Jan 29, 2025

fix in #2951

@tcm390 tcm390 closed this as completed Jan 29, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants