Skip to content

Telegram inline model picker buttons fail to show model list #14357

@GeezusChrotch

Description

@GeezusChrotch

Description

When using the inline model picker in Telegram, clicking on a provider button (e.g., "anthropic", "ollama") fails to display the list of models. The buttons appear but clicking them does nothing.

Steps to Reproduce

  1. In Telegram, trigger the model picker (via inline buttons)
  2. Click on any provider button (e.g., "anthropic", "ollama", "openrouter")
  3. Expected: List of available models for that provider should appear
  4. Actual: Nothing happens, no model list is shown

Error Details

From ~/.openclaw/logs/gateway.err.log:

[telegram] callback handler failed: GrammyError: Call to 'editMessageText' failed! 
(400: Bad Request: there is no text in the message to edit)

The error occurs multiple times when clicking provider buttons repeatedly.

Root Cause

The inline button callback handler attempts to edit the message text when transitioning from providers → models, but the message contains only buttons (no text content), causing the Telegram API call to fail.

Workaround

Text commands work correctly:

  • /model sonnet
  • /model qwen-coder
  • /model anthropic/claude-sonnet-4-5

Environment

  • OpenClaw version: 2026.2.9
  • Platform: macOS (Studio node)
  • Channel: Telegram
  • Not listed in 2026.2.9 changelog

Impact

Medium - model picker is broken in Telegram, but text commands provide a functional alternative.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions