Telegram: interactive /model selector #658

Closed
opened 2026-10-27 13:37:13 +00:00 by sam · 0 comments
Owner

When /model is invoked without an argument, present Telegram-native interactive controls rather than only plain text usage. Use the pinned go-telegram/bot SDK inline keyboard and callback query APIs; preserve /model provider/model for typed selection and enforce the existing sender allowlist on callbacks.

Acceptance Criteria

An allowlisted user invoking /model receives an inline keyboard of configured models with the active model marked; tapping a model switches it through gateway.ModelManager, acknowledges the callback, and updates the message; unauthorized or malformed callbacks cannot switch models; empty model catalogs degrade safely.


Imported from beads archie-core-1786637493254-133-444ec94e · GitHub #154 · type feature · priority P2 · created 2026-08-08 · closed 2026-08-15

When /model is invoked without an argument, present Telegram-native interactive controls rather than only plain text usage. Use the pinned go-telegram/bot SDK inline keyboard and callback query APIs; preserve /model provider/model for typed selection and enforce the existing sender allowlist on callbacks. ### Acceptance Criteria An allowlisted user invoking /model receives an inline keyboard of configured models with the active model marked; tapping a model switches it through gateway.ModelManager, acknowledges the callback, and updates the message; unauthorized or malformed callbacks cannot switch models; empty model catalogs degrade safely. --- _Imported from beads `archie-core-1786637493254-133-444ec94e` · GitHub #154 · type feature · priority P2 · created 2026-08-08 · closed 2026-08-15_
sam added the mediumfeature labels 2026-10-27 13:37:13 +00:00
sam self-assigned this 2026-10-27 13:37:13 +00:00
sam closed this issue 2026-10-27 13:37:13 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sam/archie#658