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

{{user}} tags in templates/examples empty when passed to LLM #1267

Open
deadlock91 opened this issue Dec 20, 2024 · 0 comments
Open

{{user}} tags in templates/examples empty when passed to LLM #1267

deadlock91 opened this issue Dec 20, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@deadlock91
Copy link

Describe the bug

I see cases where {{user}} tags in templates/examples end up empty when passed to LLM, should be filled properly for the LLM to understand.

Additionally, with TG template {{formattedConversation}} remains empty at all times.

To reproduce

Run agent with Telegram client, add to group chat, trigger use of telegramShouldRespondTemplate in messageManager.ts

Expected behavior

telegramShouldRespondTemplate: {{user1}} and {{user2}} tags in templates/examples should be replaced by either a username or "User 1" and "User 2" when empty.

Screenshots

screenshot

Additional context

For Discord templates seems to be working fine:

  # Examples
  <user 1>: I just saw a really great movie
  <user 2>: Oh? Which movie?
  Result: [IGNORE]

I think this should be updated across all clients to make sure it's working consistently across all of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants