Skip to content

fix(telegram): actionable error for DM topics when Topics mode not enabled#13162

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-33f03e67
Apr 20, 2026
Merged

fix(telegram): actionable error for DM topics when Topics mode not enabled#13162
teknium1 merged 1 commit into
mainfrom
hermes/hermes-33f03e67

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

Gives users an actionable error message when DM topic creation fails because Topics mode isn't enabled in the private chat, and documents the prerequisite in the docs.

Reported by @trapsticles — configured dm_topics per docs, got The chat is not a forum with no guidance on what to do.

Changes

  • gateway/platforms/telegram.py: detect not a forum / forums_disabled error in _create_dm_topic(), log a message explaining the user must enable Topics in the DM chat settings from the Telegram app
  • website/docs/user-guide/messaging/telegram.md: add a Prerequisites callout before the config section explaining the client-side requirement

Validation

  • tests/gateway/test_telegram_thread_fallback.py: 10/10 passed
  • All telegram gateway tests: 315 passed (3 pre-existing failures in approval button tests, unrelated)

…abled

When createForumTopic fails with 'not a forum' in a private chat,
the error now tells the user exactly what to do: enable Topics in
the DM chat settings from the Telegram app.

Also adds a Prerequisites callout to the docs explaining this
client-side requirement before the config section.
@teknium1 teknium1 merged commit b65f6ca into main Apr 20, 2026
4 of 5 checks passed
@teknium1 teknium1 deleted the hermes/hermes-33f03e67 branch April 20, 2026 19:29
ulasbilgen pushed a commit to ulasbilgen/hermes-adhd-agent that referenced this pull request May 1, 2026
…abled (NousResearch#13162)

When createForumTopic fails with 'not a forum' in a private chat,
the error now tells the user exactly what to do: enable Topics in
the DM chat settings from the Telegram app.

Also adds a Prerequisites callout to the docs explaining this
client-side requirement before the config section.
aj-nt pushed a commit to aj-nt/hermes-agent that referenced this pull request May 1, 2026
…abled (NousResearch#13162)

When createForumTopic fails with 'not a forum' in a private chat,
the error now tells the user exactly what to do: enable Topics in
the DM chat settings from the Telegram app.

Also adds a Prerequisites callout to the docs explaining this
client-side requirement before the config section.
Luminet2023 pushed a commit to Luminet2023/hermes-agent that referenced this pull request May 1, 2026
…abled (NousResearch#13162)

When createForumTopic fails with 'not a forum' in a private chat,
the error now tells the user exactly what to do: enable Topics in
the DM chat settings from the Telegram app.

Also adds a Prerequisites callout to the docs explaining this
client-side requirement before the config section.
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
…abled (NousResearch#13162)

When createForumTopic fails with 'not a forum' in a private chat,
the error now tells the user exactly what to do: enable Topics in
the DM chat settings from the Telegram app.

Also adds a Prerequisites callout to the docs explaining this
client-side requirement before the config section.
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
…abled (NousResearch#13162)

When createForumTopic fails with 'not a forum' in a private chat,
the error now tells the user exactly what to do: enable Topics in
the DM chat settings from the Telegram app.

Also adds a Prerequisites callout to the docs explaining this
client-side requirement before the config section.
Egavasyug pushed a commit to Egavasyug/hermes-agent that referenced this pull request Jun 10, 2026
…abled (NousResearch#13162)

When createForumTopic fails with 'not a forum' in a private chat,
the error now tells the user exactly what to do: enable Topics in
the DM chat settings from the Telegram app.

Also adds a Prerequisites callout to the docs explaining this
client-side requirement before the config section.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant