openclaw - 💡(How to fix) Fix [Feature]: ⁠添加配置项控制企业微信语音/文件发送时的自动提示文本⁠ [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#56151Fetched 2026-04-08 01:44:24
View on GitHub
Comments
0
Participants
1
Timeline
1
Reactions
0
Participants
Timeline (top)
labeled ×1

[Feature Request] 添加配置项控制企业微信语音/文件发送时的自动提示文本

```markdown

Root Cause

[Feature Request] 添加配置项控制企业微信语音/文件发送时的自动提示文本

```markdown

Code Example

### 功能描述
希望能添加配置项来控制企业微信插件在发送语音/文件时是否自动添加"📎 文件已发送,请查收。"提示。

### 使用场景
当使用 TTS 语音回复时,这个额外的文本提示会和语音内容重复,影响用户体验。用户期望只看到语音消息,不需要额外的文本说明。

### 建议的配置项
`openclaw.json` 中添加:

---

### 功能描述
希望能添加配置项来控制企业微信插件在发送语音/文件时是否自动添加"📎 文件已发送,请查收。"提示。

### 使用场景
当使用 TTS 语音回复时,这个额外的文本提示会和语音内容重复,影响用户体验。用户期望只看到语音消息,不需要额外的文本说明。

### 建议的配置项
`openclaw.json` 中添加:
RAW_BUFFERClick to expand / collapse

Summary

[Feature Request] 添加配置项控制企业微信语音/文件发送时的自动提示文本

```markdown
### 功能描述
希望能添加配置项来控制企业微信插件在发送语音/文件时是否自动添加"📎 文件已发送,请查收。"提示。

### 使用场景
当使用 TTS 语音回复时,这个额外的文本提示会和语音内容重复,影响用户体验。用户期望只看到语音消息,不需要额外的文本说明。

### 建议的配置项
在 `openclaw.json` 中添加:
```json
{"channels": {
    "wecom": {
      "disableMediaFinishText": true
    }
  }}


### Problem to solve

[Feature Request] 添加配置项控制企业微信语音/文件发送时的自动提示文本
```**正文:**
```markdown
### 功能描述
希望能添加配置项来控制企业微信插件在发送语音/文件时是否自动添加"📎 文件已发送,请查收。"提示。

### 使用场景
当使用 TTS 语音回复时,这个额外的文本提示会和语音内容重复,影响用户体验。用户期望只看到语音消息,不需要额外的文本说明。

### 建议的配置项
在 `openclaw.json` 中添加:
```json
{"channels": {
    "wecom": {
      "disableMediaFinishText": true
    }
  }}

### Proposed solution

相关代码位置
 ⁠extensions/wecom-openclaw-plugin/src/monitor.ts⁠  第 389 行:
期望行为
 ⦁当  ⁠disableMediaFinishText: true⁠  时,不自动添加文件发送提示
 ⦁当  ⁠disableMediaFinishText: false⁠  或未配置时,保持当前默认行为

### Alternatives considered

目前可以通过注释源码的方式临时解决,但每次更新版本都需要重新修改。希望能提供官方配置项支持。
感谢!🙏

### Impact

影响个人每次交互体感

### Evidence/examples

_No response_

### Additional information

_No response_

extent analysis

Fix Plan

To add a configuration item to control the automatic prompt text when sending voice/files on WeCom, follow these steps:

  • Add a new configuration option disableMediaFinishText to the openclaw.json file:
{
  "channels": {
    "wecom": {
      "disableMediaFinishText": true
    }
  }
}
  • Update the monitor.ts file (around line 389) to check for this configuration option:
if (config.channels.wecom.disableMediaFinishText) {
  // do not add automatic prompt text
} else {
  // keep current default behavior
}
  • Example code snippet:
const config = require('./openclaw.json');
const wecomConfig = config.channels.wecom;

if (wecomConfig.disableMediaFinishText) {
  // send voice/file without prompt text
  sendMedia(message);
} else {
  // send voice/file with prompt text
  sendMediaWithPrompt(message, '📎 文件已发送,请查收。');
}

Verification

To verify that the fix worked, test the following scenarios:

  • Set disableMediaFinishText to true and send a voice/file message. The prompt text should not be added.
  • Set disableMediaFinishText to false or remove the configuration option. The prompt text should be added as before.

Extra Tips

  • Make sure to update the documentation to reflect the new configuration option.
  • Consider adding a default value for disableMediaFinishText to ensure backwards compatibility.

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…

Still need to ship something?

×6

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

Back to top recommendations

TRENDING