openclaw - 💡(How to fix) Fix [Bug]: File upload via control panel web UI routes to heartbeat channel instead of chat [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#63026Fetched 2026-04-09 07:59:24
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
labeled ×1

When uploading a file through the OpenClaw Control Panel web UI at http://127.0.0.1:18789/, the file attachment is incorrectly routed to the heartbeat channel/provider instead of the webchat channel, causing the agent to reply with HEARTBEAT_OK instead of processing the file.

Steps to reproduce:

  1. Open OpenClaw Control Panel in browser
  2. Attach a file to the chat input
  3. Send the message
  4. The agent replies with HEARTBEAT_OK

Expected behavior: File uploads should be processed as normal chat messages.

Metadata observed:

{
  "channel": "heartbeat",
  "provider": "heartbeat",
  "chat_type": "direct"
}

Root Cause

When uploading a file through the OpenClaw Control Panel web UI at http://127.0.0.1:18789/, the file attachment is incorrectly routed to the heartbeat channel/provider instead of the webchat channel, causing the agent to reply with HEARTBEAT_OK instead of processing the file.

Steps to reproduce:

  1. Open OpenClaw Control Panel in browser
  2. Attach a file to the chat input
  3. Send the message
  4. The agent replies with HEARTBEAT_OK

Expected behavior: File uploads should be processed as normal chat messages.

Metadata observed:

{
  "channel": "heartbeat",
  "provider": "heartbeat",
  "chat_type": "direct"
}

Code Example

{
  "channel": "heartbeat",
  "provider": "heartbeat",
  "chat_type": "direct"
}

### Steps to reproduce

1. Open OpenClaw Control Panel in browser (http://127.0.0.1:18789/)
2. Attach a file (image or any type) to the chat input
3. Send the message
4. The agent replies with "HEARTBEAT_OK" instead of processing the file

### Expected behavior

File uploads through the control panel should be processed as normal chat messages, same as text messages.

### Actual behavior

Files are routed as heartbeat messages (channel: heartbeat, provider: heartbeat), causing the agent to reply "HEARTBEAT_OK" instead of processing the attachment.

### OpenClaw version

OpenClaw version: 2026.4.5

### Operating system

OS: Windows 11

### Install method

Platform: OpenClaw Control Panel (web UI)

### Model

minimax

### Provider / routing chain

minimax

### Additional provider/model setup details

_No response_

### Logs, screenshots, and evidence
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

When uploading a file through the OpenClaw Control Panel web UI at http://127.0.0.1:18789/, the file attachment is incorrectly routed to the heartbeat channel/provider instead of the webchat channel, causing the agent to reply with HEARTBEAT_OK instead of processing the file.

Steps to reproduce:

  1. Open OpenClaw Control Panel in browser
  2. Attach a file to the chat input
  3. Send the message
  4. The agent replies with HEARTBEAT_OK

Expected behavior: File uploads should be processed as normal chat messages.

Metadata observed:

{
  "channel": "heartbeat",
  "provider": "heartbeat",
  "chat_type": "direct"
}

### Steps to reproduce

1. Open OpenClaw Control Panel in browser (http://127.0.0.1:18789/)
2. Attach a file (image or any type) to the chat input
3. Send the message
4. The agent replies with "HEARTBEAT_OK" instead of processing the file

### Expected behavior

File uploads through the control panel should be processed as normal chat messages, same as text messages.

### Actual behavior

Files are routed as heartbeat messages (channel: heartbeat, provider: heartbeat), causing the agent to reply "HEARTBEAT_OK" instead of processing the attachment.

### OpenClaw version

OpenClaw version: 2026.4.5

### Operating system

OS: Windows 11

### Install method

Platform: OpenClaw Control Panel (web UI)

### Model

minimax

### Provider / routing chain

minimax

### Additional provider/model setup details

_No response_

### Logs, screenshots, and evidence

```shell

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

Verify the routing configuration for file uploads in the OpenClaw Control Panel to ensure they are directed to the webchat channel instead of the heartbeat channel.

Guidance

  • Review the OpenClaw Control Panel's configuration for file uploads to identify any misdirected routing rules that might be sending file attachments to the heartbeat channel.
  • Check the metadata observed during the issue reproduction for any clues on how the channel and provider are being set to heartbeat.
  • Investigate the minimax model and provider setup to see if there are any specific configurations that could be influencing the routing of file uploads.
  • Test file uploads with different types of files to see if the issue is file-type specific or if it's a general problem with all file uploads.

Example

No specific code example can be provided without more details on the OpenClaw Control Panel's configuration and routing logic. However, the fix likely involves updating the routing rules or configuration to correctly direct file uploads to the webchat channel.

Notes

The exact solution depends on the specifics of the OpenClaw Control Panel's configuration and the minimax model/provider setup, which are not fully detailed in the provided information.

Recommendation

Apply a workaround by manually configuring the routing rules for file uploads in the OpenClaw Control Panel to direct them to the webchat channel, as the current configuration appears to be the root cause of the issue.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

File uploads through the control panel should be processed as normal chat messages, same as text messages.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: File upload via control panel web UI routes to heartbeat channel instead of chat [1 participants]