Skip to content

Require Telegram replies to questions and extend timeout - #293

Merged
jgsogo merged 7 commits into
mainfrom
fix/telegram-question-replies
Nov 25, 2026
Merged

jgsogo merged 7 commits into
mainfrom
fix/telegram-question-replies

Conversation

@jgsogo

@jgsogo jgsogo commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Increase the default telegram.ask_user response timeout from 120 seconds to 300 seconds (5 minutes).
  • Explicitly instruct recipients to use Telegram's Reply action on the question message; standalone messages/comments are not accepted.
  • Require free-text answers to reply to the exact question message.
  • For yes/no questions, accept either the inline Yes/No buttons attached to the question or a yes/no text reply to that exact message (Spanish sí/si is also accepted).
  • Update the tool schema and README, and add dispatcher/parser tests for text replies and callback queries.

Testing

  • Added unit coverage for matching and unrelated replies, invalid yes/no replies, matching and unrelated button callbacks, and yes/no parsing.
  • CI runs the workspace formatting check, check, and tests.

@jgsogo
jgsogo enabled auto-merge November 25, 2026 10:42
@jgsogo
jgsogo disabled auto-merge November 25, 2026 10:43
@jgsogo
jgsogo enabled auto-merge November 25, 2026 11:03
@jgsogo
jgsogo merged commit 7544fdc into main Nov 25, 2026
1 check passed
@jgsogo
jgsogo deleted the fix/telegram-question-replies branch November 25, 2026 11:05
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