Bug Description
让 AI 发送文件,
AI 调用了 send工具, 看日志是报错了,然后思考内容:
原来如此,我不能用send工具发送到当前对话。我需要直接在回复中使用attachments标签来发送文件。
直接发了一个 attachments 标签
日志:
[memoh-server] 2026-03-31T12:03:24.065500776Z time=2026-03-31T20:03:24.065+08:00 level=WARN msg="telegram: stream attachment send failed" adapter=telegram config_id=eb6a20a3-d594-4158-99ad-cb92677daa22 type=video error="no usable attachment reference for telegram"
Steps to Reproduce
- 把刚才下载的视频发送给我
- AI 调用 send 工具,发送失败
- AI 发送了内容 文件地址
Error Messages / Logs
[memoh-server] 2026-03-31T12:03:01.934371590Z time=2026-03-31T20:03:01.933+08:00 level=DEBUG msg="inbound handle start" component=channel_router channel=telegram message_id=76 query=把刚才下载的视频发给我 attachments=0 conversation_type=private conversation_id=406530351
[memoh-server] 2026-03-31T12:03:03.402349536Z time=2026-03-31T20:03:03.402+08:00 level=INFO msg="agent stream start" service=conversation_resolver bot_id=3c554ab4-1826-4665-bf00-e6daf2782650 chat_id=3c554ab4-1826-4665-bf00-e6daf2782650
[memoh-server] 2026-03-31T12:03:09.097571560Z time=2026-03-31T20:03:09.097+08:00 level=INFO msg=request method=HEAD uri=/health status=200 latency=0s remote_ip=172.19.0.5
[memoh-server] 2026-03-31T12:03:24.065500776Z time=2026-03-31T20:03:24.065+08:00 level=WARN msg="telegram: stream attachment send failed" adapter=telegram config_id=eb6a20a3-d594-4158-99ad-cb92677daa22 type=video error="no usable attachment reference for telegram"
[memoh-server] 2026-03-31T12:03:24.760822255Z time=2026-03-31T20:03:24.760+08:00 level=DEBUG msg="stream final chunking evaluate" component=channel channel=telegram chunk_limit=2000 text_runes=183 attachments=0 format=markdown
[memoh-server] 2026-03-31T12:03:24.761567270Z time=2026-03-31T20:03:24.761+08:00 level=DEBUG msg="stream final chunking skipped: text within limit" component=channel channel=telegram text_runes=183 chunk_limit=2000
Version
v0.6.0
Model Used
kimi k2.5
Channel
Telegram
Additional Context
No response
Contributing
Bug Description
让 AI 发送文件,
AI 调用了 send工具, 看日志是报错了,然后思考内容:
原来如此,我不能用send工具发送到当前对话。我需要直接在回复中使用attachments标签来发送文件。
直接发了一个 attachments 标签
日志:
[memoh-server] 2026-03-31T12:03:24.065500776Z time=2026-03-31T20:03:24.065+08:00 level=WARN msg="telegram: stream attachment send failed" adapter=telegram config_id=eb6a20a3-d594-4158-99ad-cb92677daa22 type=video error="no usable attachment reference for telegram"
Steps to Reproduce
Error Messages / Logs
Version
v0.6.0
Model Used
kimi k2.5
Channel
Telegram
Additional Context
No response
Contributing