Skip to content

[Bug]: Telegram chat does not include previous messages #3210

@banjo

Description

@banjo

Bug Description

When chatting in Telegram, It keeps only referencing the latest message. Sometimes it knows about the previous messages before that, but most of the time it seems to assume that my last message is the only context.

For example when asking, in the middle of a conversation:

How many messages from me can you see?

I get the answer:

In this conversation context, I can only see 1 message from you — the one you just sent asking "How many messages from me can you see?"

This is even though it is in the middle of a conversation.

The chat works fine when doing it directly in the CLI, just not in telegram.

Steps to Reproduce

Chat via Telegram. I have tried both with Kimi 2.5 and MiniMax 2.7.

Expected Behavior

Should be able to reference previous messages in an ongoing chat in Telegram.

Actual Behavior

Does that sometimes, but most often it just completely forgets the context and ask what it is supposed to do even though it is in the context in the message above.

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

Telegram

Operating System

Ubuntu 24.04

Python Version

3.11.15

Hermes Version

v0.4.0

Relevant Logs / Traceback

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions