feat(feishu): interactive model picker card with two-level drill-down#10301
feat(feishu): interactive model picker card with two-level drill-down#10301yanen-bohoon wants to merge 1 commit into
Conversation
…down and pagination Add a full-featured model selection card for the Feishu platform that supports provider -> model drill-down, pagination (4 models per page), and in-place card updates via CallBackCard immediate responses. Also includes: - Fix: change approval card action intercept from wildcard to exact match (approval_actions set) to avoid catching model picker buttons - Add qwen3.6-plus to Alibaba provider model list
|
Thanks for building this! We independently wrote a similar implementation before discovering this PR. Since yours is already in-flight, I'd like to contribute our 12 passing unit tests and some review feedback to help this land. ✅ What looks good
📦 Tests we can contributeWe wrote 12 pytest unit tests (all passing ✅) covering:
Test file: Happy to open a PR against your branch, or you can pull from 🔍 Review observations (non-blocking)1. No cancel button — Telegrams picker has 2. Feishu 4-button-per-action limit — The provider list puts ALL buttons in one 3. Double notification on switch — 4. Unrelated 5. State key = picker_id vs chat_id — Using Again, great work — happy to help push this over the finish line! Let me know how you'd like me to contribute the tests. |
Summary
Add a full-featured interactive model picker card for the Feishu (Lark) platform. Users can now switch models through a visual card UI instead of typing commands.
Features
P2CardActionTriggerResponse+CallBackCardfor instant UI feedback without sending new messagesAdditional changes bundled
if hermes_action:) to exact set match (if hermes_action in approval_actions). This prevents model picker buttons from being incorrectly routed to the approval handler.qwen3.6-plusto the Alibaba provider model listDemo flow
/modelor equivalent trigger