feat: add Feishu media attachment support to send_message tool#17083
feat: add Feishu media attachment support to send_message tool#17083HUAyanYE wants to merge 1 commit into
Conversation
541b7c2 to
e1ae1ed
Compare
|
Hi maintainers! 👋 I noticed there are several PRs (#10392, #12461, #14365, #14892) attempting to fix the same Feishu media attachment issue. However, all of them currently have merge conflicts (dirty state) due to recent upstream changes (e.g., Yuanbao platform support added to main). This PR (#17083) is different because: ✅ Conflict-free — Based on the latest The fix is straightforward: pass Happy to address any feedback! |
|
Tested the same fix path locally in a Feishu DM: routing |
|
media attachemnts are really necessary. +1 for getting this merged. |
Summary
Adds native media attachment support for Feishu/Lark platform in the
send_messagetool.Changes
media_filesparameter to_send_feishufunctionBackground
The
FeishuAdapteralready has full support for sending documents, images, videos, and audio files viasend_document(),send_image_file(),send_video(), andsend_voice()methods. However, thesend_messagetool was not connecting its media handling to these existing adapter capabilities.This change adds the missing connection, allowing users to send file attachments to Feishu chats using the
MEDIA:<path>syntax.Testing
Related
gateway/platforms/feishu.pytools/send_message_tool.py