Description
The StreamChat channel (openclaw-channel-streamchat) only accepts image attachments. When trying to upload other file types (PDF, DOC, TXT, etc.), the upload fails or is rejected by the UI.
Expected behavior
Should be able to attach and send any file type, not just images.
Steps to reproduce
- Open Control UI (streamchat channel)
- Try to attach a PDF or DOC file using the attachment button
- Only images are accepted; other files are rejected
Environment
- OpenClaw version: 2026.3.24
- Channel: streamchat (Control UI)
- Plugin: openclaw-channel-streamchat v0.1.0
Additional context
Looking at the plugin source code (channel.ts), the capabilities show media: true, but the actual implementation only supports images via sendImage(). Non-image files should be sent via sendFile() but this appears to not be working properly.
Description
The StreamChat channel (
openclaw-channel-streamchat) only accepts image attachments. When trying to upload other file types (PDF, DOC, TXT, etc.), the upload fails or is rejected by the UI.Expected behavior
Should be able to attach and send any file type, not just images.
Steps to reproduce
Environment
Additional context
Looking at the plugin source code (
channel.ts), the capabilities showmedia: true, but the actual implementation only supports images viasendImage(). Non-image files should be sent viasendFile()but this appears to not be working properly.